minus

inline operator fun Path.minus(p: Path): Path(source)

Returns the difference of two paths as a new Path.


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

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(source)
inline operator fun PointF.minus(xy: Float): PointF(source)

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


inline operator fun Rect.minus(r: Rect): Region(source)

Returns the difference of this rectangle and the specified rectangle as a new region.


inline operator fun RectF.minus(r: RectF): Region(source)

Returns the difference of this rectangle and the specified rectangle as a new region. This rectangle is first converted to a Rect using RectF.toRect.


inline operator fun Rect.minus(xy: Int): Rect(source)
inline operator fun RectF.minus(xy: Float): RectF(source)

Returns a new rectangle representing this rectangle offset by the negation of the specified amount on both X and Y axis.


inline operator fun Rect.minus(xy: Point): Rect(source)
inline operator fun RectF.minus(xy: PointF): RectF(source)

Returns a new rectangle representing this rectangle offset by the negation of the specified point.


inline operator fun Region.minus(r: Rect): Region(source)

Return the difference of this region and the specified Rect as a new region.


inline operator fun Region.minus(r: Region): Region(source)

Return the difference of this region and the specified region as a new region.