Contents

currentPoint

Returns the current point in a graphics path.

Declaration

var currentPoint: CGPoint { get }

Discussion

If the path is empty—that is, if it has no elements—this function returns CGPointZero (see CGGeometry). To determine whether a path is empty, use isEmpty.

See Also

Examining a Graphics Path