core-ktx / androidx.graphics / android.graphics.Point / minus

minus

inline operator fun Point.minus(p: Point): Point

Offsets this point by the negation of the specified point and returns the result as a new point.

inline operator fun Point.minus(xy: Int): Point

Offsets this point by the negation of the specified amount on both X and Y axis and returns the result as a new point.