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

Javascript
Point point.flipX(Point mirror = false)

Example