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

plus

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

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

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

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