Initializes a new instance of the
ImGearARTTypedText class object.
Syntax
'Declaration
Public Function New( _
ByVal As IImGearRectangle, _
ByVal As String, _
ByVal As IImGearRGBQuad, _
ByVal As String, _
ByVal As Single, _
ByVal As ImGearARTFontStyles _
)
'Usage
Dim rect As IImGearRectangle
Dim text As String
Dim textColor As IImGearRGBQuad
Dim fontName As String
Dim fontSize As Single
Dim fontStyle As ImGearARTFontStyles
Dim instance As New ImGearARTTypedText(rect, text, textColor, fontName, fontSize, fontStyle)
Parameters
- rect
- Mark's rectangle.
- text
- Text of the mark.
- textColor
- Color of the mark's text.
- fontName
- The name of the font.
- fontSize
- The size of the font in points.
- fontStyle
- The style of the font.
See Also