ImageGear .NET v25.2 - Updated
ImageGear.Art Assembly / ImageGear.ART Namespace / ImGearARTPolygon Class / ImGearARTPolygon Constructor / ImGearARTPolygon Constructor(ImGearPoint[],IImGearRGBQuad,IImGearRGBQuad,ImGearARTPenStyle,Int32,Int32)
The mark's points.
Fill color of the mark.
The border color of the mark.
The border style of the mark.
The border width of the mark.
Opacity of the mark.




In This Topic
    ImGearARTPolygon Constructor(ImGearPoint[],IImGearRGBQuad,IImGearRGBQuad,ImGearARTPenStyle,Int32,Int32)
    In This Topic
    Initializes a new instance of the ImGearARTPolygon class object.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal points() As ImGearPoint, _
       ByVal fillColor As IImGearRGBQuad, _
       ByVal borderColor As IImGearRGBQuad, _
       ByVal borderStyle As ImGearARTPenStyle, _
       ByVal borderWidth As Integer, _
       ByVal opacity As Integer _
    )
    'Usage
     
    Dim points() As ImGearPoint
    Dim fillColor As IImGearRGBQuad
    Dim borderColor As IImGearRGBQuad
    Dim borderStyle As ImGearARTPenStyle
    Dim borderWidth As Integer
    Dim opacity As Integer
     
    Dim instance As New ImGearARTPolygon(points, fillColor, borderColor, borderStyle, borderWidth, opacity)
    public ImGearARTPolygon( 
       ImGearPoint[] points,
       IImGearRGBQuad fillColor,
       IImGearRGBQuad borderColor,
       ImGearARTPenStyle borderStyle,
       int borderWidth,
       int opacity
    )
    public: ImGearARTPolygon( 
       ImGearPoint[]* points,
       IImGearRGBQuad* fillColor,
       IImGearRGBQuad* borderColor,
       ImGearARTPenStyle borderStyle,
       int borderWidth,
       int opacity
    )

    Parameters

    points
    The mark's points.
    fillColor
    Fill color of the mark.
    borderColor
    The border color of the mark.
    borderStyle
    The border style of the mark.
    borderWidth
    The border width of the mark.
    opacity
    Opacity of the mark.
    See Also