VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.Drawing Namespace / DrawingEngine Class / DrawPolygon(IDrawingPen,PointF[]) Method
Syntax Requirements SeeAlso
In This Topic
    DrawPolygon(IDrawingPen,PointF[]) Method (DrawingEngine)
    In This Topic
    Draws a polygon.
    Syntax
    'Declaration
    
    Public Sub DrawPolygon( _
    ByVal pen
    The pen that determines the color, width, and style of the polygon.
    As IDrawingPen, _
    ByVal points
    Array of System.Drawing.PointF structures that represent the vertices of the polygon to fill.
    () As System.Drawing.PointF _
    )
    public void DrawPolygon(
    IDrawingPen pen,
    System.Drawing.PointF[] points
    )
    public: void DrawPolygon(
    IDrawingPen* pen,
    System.Drawing.PointF[]* points
    )
    public:
    void DrawPolygon(
    IDrawingPen^ pen,
    array<System.Drawing.PointF>^ points
    )

    Parameters

    pen
    The pen that determines the color, width, and style of the polygon.
    points
    Array of System.Drawing.PointF structures that represent the vertices of the polygon to fill.
    Requirements

    Target Platforms: .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also