Type Property


Returns the default winding rule used to fill all paths.


class var defaultWindingRule: NSBezierPath.WindingRule { get set }

Return Value

The current default winding rule or nonZeroWindingRule if no default rule has been set. This value may be either nonZeroWindingRule or evenOddWindingRule.

See Also

Configuring the Default Path Attributes

class var defaultLineCapStyle: NSBezierPath.LineCapStyle

Returns the default line cap style for all paths.

class var defaultLineJoinStyle: NSBezierPath.LineJoinStyle

Returns the default line join style for all paths.

class var defaultLineWidth: CGFloat

Returns the default line width for the all paths.

class var defaultMiterLimit: CGFloat

Returns the default miter limit for all paths.

class var defaultFlatness: CGFloat

Returns the default flatness value for all paths.