MonobjcMonobjc Documented Class Library
NSWindingRule Enumeration
NamespacesMonobjc.AppKitNSWindingRule

These constants are used to specify the winding rule a Bezier path should use.

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public enum NSWindingRule
Public Enumeration NSWindingRule
public enum class NSWindingRule
Members
MemberDescription
NSNonZeroWindingRule

Specifies the non-zero winding rule.

Count each left-to-right path as +1 and each right-to-left path as -1. If the sum of all crossings is 0, the point is outside the path. If the sum is nonzero, the point is inside the path and the region containing it is filled. This is the default winding rule.

Available in Mac OS X v10.0 and later.


NSEvenOddWindingRule

Specifies the even-odd winding rule.

Count the total number of path crossings. If the number of crossings is even, the point is outside the path. If the number of crossings is odd, the point is inside the path and the region containing it should be filled.

Available in Mac OS X v10.0 and later.


Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)