Nevron .NET Vision
Nevron.GraphicsCore Namespace / NGraphics Class / PaintPolygon Method


In This Topic
    PaintPolygon Method (NGraphics)
    In This Topic
    Paints a polygon defined by an array of Point structures.
    Syntax
    'Declaration
     
    
    Public Sub PaintPolygon( _
       ByVal fillStyle As NFillStyle, _
       ByVal strokeStyle As NStrokeStyle, _
       ByVal points() As NPointF _
    ) 
    'Usage
     
    
    Dim instance As NGraphics
    Dim fillStyle As NFillStyle
    Dim strokeStyle As NStrokeStyle
    Dim points() As NPointF
     
    instance.PaintPolygon(fillStyle, strokeStyle, points)
    public void PaintPolygon( 
       NFillStyle fillStyle,
       NStrokeStyle strokeStyle,
       NPointF[] points
    )

    Parameters

    fillStyle
    strokeStyle
    points
    Remarks
    You can pass null values to the fillStyle and strokeStyle parameters. When the fillStyle is null the polygon is not filled. When the strokeStyle is null the polygon does not draw a border.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also