Initializes a new instance of the
ImGearARTText class object.
Syntax
'Declaration
Public Function New( _
ByVal As IImGearRectangle, _
ByVal As String, _
ByVal As IImGearRGBQuad, _
ByVal As ImGearARTTextType, _
ByVal As Integer, _
ByVal As IImGearRGBQuad, _
ByVal As ImGearARTBorder, _
ByVal As Boolean, _
ByVal As Integer, _
ByVal As String, _
ByVal As Single, _
ByVal As ImGearARTFontStyles, _
ByVal As ImGearARTPin, _
ByVal As ImGearARTCallout _
)
'Usage
Dim rect As IImGearRectangle
Dim text As String
Dim textColor As IImGearRGBQuad
Dim textType As ImGearARTTextType
Dim textOpacity As Integer
Dim fillColor As IImGearRGBQuad
Dim border As ImGearARTBorder
Dim isBorderShaded As Boolean
Dim opacity As Integer
Dim fontName As String
Dim fontSize As Single
Dim fontStyle As ImGearARTFontStyles
Dim pin As ImGearARTPin
Dim callout As ImGearARTCallout
Dim instance As New ImGearARTText(rect, text, textColor, textType, textOpacity, fillColor, border, isBorderShaded, opacity, fontName, fontSize, fontStyle, pin, callout)
public ImGearARTText(
IImGearRectangle ,
string ,
IImGearRGBQuad ,
ImGearARTTextType ,
int ,
IImGearRGBQuad ,
ImGearARTBorder ,
bool ,
int ,
string ,
float ,
ImGearARTFontStyles ,
ImGearARTPin ,
ImGearARTCallout
)
public: ImGearARTText(
IImGearRectangle* ,
string* ,
IImGearRGBQuad* ,
ImGearARTTextType ,
int ,
IImGearRGBQuad* ,
ImGearARTBorder* ,
bool ,
int ,
string* ,
float ,
ImGearARTFontStyles ,
ImGearARTPin* ,
ImGearARTCallout*
)
public:
ImGearARTText(
IImGearRectangle^ ,
String^ ,
IImGearRGBQuad^ ,
ImGearARTTextType ,
int ,
IImGearRGBQuad^ ,
ImGearARTBorder^ ,
bool ,
int ,
String^ ,
float ,
ImGearARTFontStyles ,
ImGearARTPin^ ,
ImGearARTCallout^
)
Parameters
- rect
- Mark's rectangle.
- text
- Text of the mark.
- textColor
- Color of the mark's text.
- textType
- Text type.
- textOpacity
- Text opacity.
- fillColor
- Fill color of the mark.
- border
- Border of the mark.
- isBorderShaded
- Specifies whether the mark's border is shaded or not.
- opacity
- Opacity of the mark.
- fontName
- The name of the font.
- fontSize
- The size of the font in points.
- fontStyle
- The style of the font.
- pin
- ImGearARTPin class object that specifies mark's pin icon attributes.
- callout
- ImGearARTCallout class object that specifies mark's callout attributes.
See Also