EWindowsDrawAdapter::BackedText

Draws a text with a background.

Namespace: Euresys::Open_eVision

[C++]

void BackedText(
   const std::string& text,
   int x,
   int y,
   float orientation,
   EBrush textBrush,
   EBrush backgroundBrush
)

Parameters

text

Text to draw.

x

X position of the text.

y

Y position of the text.

orientation

Orientation of the text in radians.

textBrush

Optional brush to use for the color of the text.

backgroundBrush

Optional brush to use for the background.

EWindowsDrawAdapter.BackedText

Draws a text with a background.

Namespace: Euresys.Open_eVision

[C#]

void BackedText(
   string text,
   int x,
   int y,
   float orientation,
   EBrush textBrush,
   EBrush backgroundBrush
)

Parameters

text

Text to draw.

x

X position of the text.

y

Y position of the text.

orientation

Orientation of the text in radians.

textBrush

Optional brush to use for the color of the text.

backgroundBrush

Optional brush to use for the background.

EWindowsDrawAdapter.BackedText

Draws a text with a background.

Module: open_evision

[Python]

BackedText(
    text: str
    x: int
    y: int
    orientation: float
    textBrush: EBrush
    backgroundBrush: EBrush
) -> None

BackedText(
    text: str
    x: int
    y: int
    orientation: float
    textBrush: EBrush
) -> None

BackedText(
    text: str
    x: int
    y: int
    orientation: float
) -> None

Parameters

text

Text to draw.

x

X position of the text.

y

Y position of the text.

orientation

Orientation of the text in radians.

textBrush

Optional brush to use for the color of the text.

backgroundBrush

Optional brush to use for the background.