Contents

stroke()

Draws a line along the path using the current stroke color and drawing attributes.

Declaration

func stroke()

Discussion

The drawn line is centered on the path with its sides parallel to the path segment. This method uses the current drawing attributes associated with the receiver. If a particular attribute is not set for the receiver, this method uses the corresponding default attribute.

See Also

Related Documentation

Drawing a Path