Nevron Open Vision Documentation
Nevron.Nov.Dom Namespace / NPaintVisitor Class / PaintPolygon Method / PaintPolygon(NPoint,NPoint,NPoint,NPoint,NPoint,NPoint,ENFillRule) Method


In This Topic
    PaintPolygon(NPoint,NPoint,NPoint,NPoint,NPoint,NPoint,ENFillRule) Method
    In This Topic
    Paints a polygon with the specified fill rule. The current fill, stroke and shadow styles are used.
    Syntax
    'Declaration
     
    
    Public Overloads Sub PaintPolygon( _
       ByVal pt1 As NPoint, _
       ByVal pt2 As NPoint, _
       ByVal pt3 As NPoint, _
       ByVal pt4 As NPoint, _
       ByVal pt5 As NPoint, _
       ByVal pt6 As NPoint, _
       ByVal fillRule As ENFillRule _
    ) 
    'Usage
     
    
    Dim instance As NPaintVisitor
    Dim pt1 As NPoint
    Dim pt2 As NPoint
    Dim pt3 As NPoint
    Dim pt4 As NPoint
    Dim pt5 As NPoint
    Dim pt6 As NPoint
    Dim fillRule As ENFillRule
     
    instance.PaintPolygon(pt1, pt2, pt3, pt4, pt5, pt6, fillRule)
    public void PaintPolygon( 
       NPoint pt1,
       NPoint pt2,
       NPoint pt3,
       NPoint pt4,
       NPoint pt5,
       NPoint pt6,
       ENFillRule fillRule
    )

    Parameters

    pt1
    pt2
    pt3
    pt4
    pt5
    pt6
    fillRule
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also