RenderText Constructor(String,Font,Color,AlignHorzEnum)
In This Topic
Initializes a new instance of the
RenderText class, assigning the
Text property, font, text color and alignment.
Syntax
Parameters
- text
- A string assigned to the Text property.
- font
- The font used to render the text.
- textColor
- The text color used to render the text.
- horzAlign
- The horizontal text alignment.
See Also