xtd 0.2.0
Loading...
Searching...
No Matches

◆ draw_string() [5/6]

void xtd::drawing::graphics::draw_string ( const xtd::string s,
const xtd::drawing::font font,
const xtd::drawing::brush brush,
float  x,
float  y 
)

Draws the specified text string at the specified location with the specified xtd::drawing::brush and xtd::drawing::font objects.

Parameters
sString to draw.
fontxtd::drawing::font that defines the text format of the string.
brushxtd::drawing::brush that determines the color and texture of the drawn text.
xThe x-coordinate of the upper-left corner of the drawn text.
yThe y-coordinate of the upper-left corner of the drawn text.