NevronOpenVision
Nevron.Nov.Graphics Namespace / ENFillRule Enumeration
In This Topic
    ENFillRule Enumeration
    In This Topic
    Determines the filling rule of a graphics path
    Syntax
    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 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