Click or drag to resize

GraphicsIHandlerDrawText Method (Font, Brush, Single, Single, String)

Draws text with the specified font, brush and location

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
void DrawText(
	Font font,
	Brush brush,
	float x,
	float y,
	string text
)

Parameters

font
Type: Eto.DrawingFont
Font to draw the text with
brush
Type: Eto.DrawingBrush
A brush with the color of the text
x
Type: SystemSingle
X co-ordinate of where to start drawing the text
y
Type: SystemSingle
Y co-ordinate of where to start drawing the text
text
Type: SystemString
Text string to draw
See Also