Contents

lineDashPhase

The offset (in points) at which to start drawing the dash pattern.

Declaration

var lineDashPhase: CGFloat { get set }

Discussion

Use this property to start drawing a dashed line partway through a segment or gap. For example, a phase value of 6 for the pattern 5-2-3-2 would cause drawing to begin in the middle of the first gap.

The default value of this property is 0.

See Also

Accessing the drawing attributes