Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / ENFillRule Enumeration


In This Topic
    ENFillRule Enumeration
    In This Topic
    Determines the filling rule of a graphics path
    Syntax
    'Declaration
     
    
    Public Enum ENFillRule 
       Inherits System.Enum
    'Usage
     
    
    Dim instance As ENFillRule
    public enum ENFillRule : System.Enum 
    Members
    MemberDescription
    EvenOddDetermines the "insideness" of a point on the shape by drawing a ray from that point to infinity in any direction and counting the number of path segments from the given shape that the ray crosses. If this number is odd, the point is inside; if even, the point is outside.
    NonZeroDetermines the "insideness" of a point on the shape by drawing a ray from that point to infinity in any direction and then examining the places where a segment of the shape crosses the ray. Starting with a count of zero, add one each time a Segment crosses the ray from left to right and subtract one each time a path segment crosses the ray from right to left. After counting the crossings, if the result is zero then the point is outside the path. Otherwise, it is inside.
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             Nevron.Nov.Graphics.ENFillRule

    Requirements

    Target Platforms: Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, 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), Windows Server 2003 SP2

    See Also