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

◆ draw_text()

static void xtd::forms::text_renderer::draw_text ( xtd::drawing::graphics graphics,
const xtd::drawing::rectangle bounds,
const xtd::ustring text,
const xtd::forms::style_sheets::itext_model data 
)
static

Draws text.

Parameters
graphicsThe xtd::drawing::graphics used to draw text.
boundsThe xtd::drawing::rectangle that specifies the bounds of the text.
textThe xtd::ustring text to draw.
dataThe xtd::forms::style_sheets::itext_model class wish contains informations about how to draw the the text.