Instance Property

windingRule

The winding rule used to fill the path.

Declaration

var windingRule: NSBezierPath.WindingRule { get set }

Discussion

This value may be either nonZeroWindingRule or evenOddWindingRule. This value overrides the default value returned by the defaultWindingRule method.

For more information on how winding rules affect the appearance of filled paths, see Cocoa Drawing Guide.

See Also

Accessing the Path Attributes

var lineCapStyle: NSBezierPath.LineCapStyle

The line cap style for the path.

var lineJoinStyle: NSBezierPath.LineJoinStyle

The line join style for the path.

var lineWidth: CGFloat

The width of stroked path lines.

var miterLimit: CGFloat

The limit at which miter joins are converted to bevel joins.

var flatness: CGFloat

The accuracy with which curves are rendered.

func setLineDash(UnsafePointer<CGFloat>?, count: Int, phase: CGFloat)

Sets the line-stroking pattern for the receiver.