MRectangleInt

inline class MRectangleInt(val rect: MRectangle)

Deprecated

Use RectangleInt instead

Constructors

Link copied to clipboard
constructor(rect: MRectangle)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val area: Int
Link copied to clipboard
var bottom: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var height: Int
Link copied to clipboard
Link copied to clipboard
var left: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var right: Int
Link copied to clipboard
Link copied to clipboard
var top: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var width: Int
Link copied to clipboard
var x: Int
Link copied to clipboard
var y: Int

Functions

Link copied to clipboard
fun anchor(ax: Double, ay: Double): MPointInt
inline fun anchor(ax: Number, ay: Number): MPointInt
Link copied to clipboard
fun anchoredIn(container: MRectangleInt, anchor: Anchor, out: MRectangleInt = MRectangleInt()): MRectangleInt
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
operator fun contains(that: MPoint): Boolean
operator fun contains(that: MPointInt): Boolean
operator fun contains(v: MSizeInt): Boolean
operator fun contains(v: SizeInt): Boolean
operator fun contains(that: Point): Boolean
operator fun contains(that: Vector2I): Boolean
fun contains(x: Int, y: Int): Boolean
Link copied to clipboard
Link copied to clipboard

Inline expand the rectangle

Link copied to clipboard
Link copied to clipboard
fun getAnchorPosition(anchor: Anchor, out: MPointInt = MPointInt()): MPointInt
Link copied to clipboard
fun getPosition(out: MPointInt = MPointInt()): MPointInt
Link copied to clipboard
fun getSize(out: MSizeInt = MSizeInt()): MSizeInt
Link copied to clipboard
fun setBoundsTo(left: Int, top: Int, right: Int, bottom: Int): MRectangleInt
Link copied to clipboard
Link copied to clipboard
fun setSize(width: Int, height: Int): MRectangleInt
Link copied to clipboard
fun setTo(x: Int, y: Int, width: Int, height: Int): MRectangleInt
Link copied to clipboard
fun setToBounds(left: Int, top: Int, right: Int, bottom: Int): MRectangleInt
Link copied to clipboard
fun sliceWithBounds(left: Int, top: Int, right: Int, bottom: Int, clamped: Boolean = true): MRectangleInt
Link copied to clipboard
fun sliceWithSize(x: Int, y: Int, width: Int, height: Int, clamped: Boolean = true): MRectangleInt
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard