Skip to main content

Point.shiftOutwards()

The Point.shiftOutwards() method returns a new Point that is shifted distance (mm) beyond the target in the direction of the target point.

Signature

Point point.shiftOutwards(Point target, float distance)

Example

Point A Point B Point C is point A shifted 3 cmbeyond point B

An example of the Point.shiftOutwards() method