minus

operator fun Point.minus(anotherPoint: Point): Point

Subtracts anotherPoint from this Point by subtracting the corresponding x and y coordinates.

Important: This is a Public Preview API. It may be changed or removed at any time.

Return

A new Point, the result of the subtraction.

Parameters

anotherPoint

The component to be subtracted from this Point.


operator fun PointF.minus(anotherPoint: PointF): PointF

Subtracts anotherPoint from this PointF by subtracting the corresponding x and y coordinates.

Important: This is a Public Preview API. It may be changed or removed at any time.

Return

A new PointF, the result of the subtraction.

Parameters

anotherPoint

The component to be subtracted from this PointF.