GraphicsDrawText Method (Font, SolidBrush, 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 public void DrawText(
Font font,
SolidBrush brush,
float x,
float y,
string text
)
Public Sub DrawText (
font As Font,
brush As SolidBrush,
x As Single,
y As Single,
text As String
)
member DrawText :
font : Font *
brush : SolidBrush *
x : float32 *
y : float32 *
text : string -> unit
Parameters
- font
- Type: Eto.DrawingFont
Font to draw the text with - brush
- Type: Eto.DrawingSolidBrush
Brush to stroke 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