Contents

strokeEnd

The relative location at which to stop stroking the path. Animatable.

Declaration

var strokeEnd: CGFloat { get set }

Discussion

The value of this property must be in the range 0.0 to 1.0. The default value of this property is 1.0.

Combined with the strokeStart property, this property defines the subregion of the path to stroke. The value in this property indicates the relative point along the path at which to finish stroking while the strokeStart property defines the starting point. A value of 0.0 represents the beginning of the path while a value of 1.0 represents the end of the path. Values in between are interpreted linearly along the path length.

See Also

Accessing Shape Style Properties