Skip to main content

Point.flipX()

The Point.flipX() method returns a new Point that mirrors the original point around the X-value of the point you pass it. If you do not pass in a point, it will default to mirroring around an X-value of zero.

Signature

Point point.flipX(Point mirror = false)

Example

An example of the Point.flipX() method