Viewport.DrawText (Int32, Int32, String, Font, Color, Color, ContentAlignment) Method
Parameters
- x
- int
The text's x coordinate
- y
- int
The text's y coordinate (from the bottom of the viewport)
- text
- string
The text string to draw
- textFont
- Font
The text font
- textColor
- Color
The text color
- fillColor
- Color
The background color (can be semi-transparent)
- textAlign
- ContentAlignment
The text alignment