Environment.DrawTextOutlined Method
Public Sub DrawTextOutlined( _
ByVal x As Integer, _
ByVal y As Integer, _
ByVal text As String, _
ByVal textFont As Font, _
ByVal textColor As Color, _
ByVal outlineColor As Color, _
ByVal outlineThickness As Single, _
ByVal textAlign As ContentAlignment _
)
This language is not supported or no code example is available.
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
- outlineColor
- Color
The outline color
- outlineThickness
- float
The outline thickness
- textAlign
- ContentAlignment
The text alignment
For better performances use GetTextOutlinedImage, create the texture and draw it directly.