Instance Property

flatness

The accuracy with which curves are rendered.

Declaration

@property CGFloat flatness;

Discussion

The flatness value specifies the accuracy (or smoothness) with which curves are rendered. It is also the maximum error tolerance (measured in pixels) for rendering curves, where smaller numbers give smoother curves at the expense of more computation. The exact interpretation may vary slightly on different rendering devices.

The default value of this property is the value returned by the defaultFlatness method.

See Also

Accessing the Path Attributes

windingRule

The winding rule used to fill the path.

lineCapStyle

The line cap style for the path.

lineJoinStyle

The line join style for the path.

lineWidth

The width of stroked path lines.

miterLimit

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

- getLineDash:count:phase:

Returns the line-stroking pattern for the receiver.

- setLineDash:count:phase:

Sets the line-stroking pattern for the receiver.