Initializes a new instance of the
ImGearARTButton class object.
Syntax
'Declaration
Public Function New( _
ByVal As IImGearRectangle, _
ByVal As String, _
ByVal As IImGearRGBQuad, _
ByVal As IImGearRGBQuad, _
ByVal As Integer, _
ByVal As String, _
ByVal As Single, _
ByVal As ImGearARTFontStyles _
)
'Usage
Dim rect As IImGearRectangle
Dim text As String
Dim textColor As IImGearRGBQuad
Dim fillColor As IImGearRGBQuad
Dim opacity As Integer
Dim fontName As String
Dim fontSize As Single
Dim fontStyle As ImGearARTFontStyles
Dim instance As New ImGearARTButton(rect, text, textColor, fillColor, opacity, fontName, fontSize, fontStyle)
Parameters
- rect
- The mark rectangle.
- text
- Button text.
- textColor
- Button text color.
- fillColor
- The fill color of the button.
- opacity
- Button opacity.
- fontName
- The name of the font.
- fontSize
- The size of the font in points.
- fontStyle
- The style of the font.
See Also