ImageGear .NET v24.12 - Updated
ImGearARTButton Constructor(IImGearRectangle,String,IImGearRGBQuad,IImGearRGBQuad,Int32,String,Single,ImGearARTFontStyles)




ImageGear24.Art Assembly > ImageGear.ART Namespace > ImGearARTButton Class > ImGearARTButton Constructor : ImGearARTButton Constructor(IImGearRectangle,String,IImGearRGBQuad,IImGearRGBQuad,Int32,String,Single,ImGearARTFontStyles)
The mark rectangle.
Button text.
Button text color.
The fill color of the button.
Button opacity.
The name of the font.
The size of the font in points.
The style of the font.
Initializes a new instance of the ImGearARTButton class object.
Syntax
'Declaration
 
Public Function New( _
   ByVal rect As IImGearRectangle, _
   ByVal text As String, _
   ByVal textColor As IImGearRGBQuad, _
   ByVal fillColor As IImGearRGBQuad, _
   ByVal opacity As Integer, _
   ByVal fontName As String, _
   ByVal fontSize As Single, _
   ByVal fontStyle 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)
public ImGearARTButton( 
   IImGearRectangle rect,
   string text,
   IImGearRGBQuad textColor,
   IImGearRGBQuad fillColor,
   int opacity,
   string fontName,
   float fontSize,
   ImGearARTFontStyles fontStyle
)
public: ImGearARTButton( 
   IImGearRectangle* rect,
   string* text,
   IImGearRGBQuad* textColor,
   IImGearRGBQuad* fillColor,
   int opacity,
   string* fontName,
   float fontSize,
   ImGearARTFontStyles fontStyle
)
public:
ImGearARTButton( 
   IImGearRectangle^ rect,
   String^ text,
   IImGearRGBQuad^ textColor,
   IImGearRGBQuad^ fillColor,
   int opacity,
   String^ fontName,
   float fontSize,
   ImGearARTFontStyles 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

Reference

ImGearARTButton Class
ImGearARTButton Members
Overload List
ImGearRectangle Structure
ImGearRGBQuad Structure
ImGearARTFontStyles Enumeration