MRectangle

Deprecated

Use Rectangle

Constructors

Link copied to clipboard
constructor(x: Double, y: Double, width: Double, height: Double)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val mSize: MSize
Link copied to clipboard
Link copied to clipboard
val pos: Point
Link copied to clipboard
Link copied to clipboard
open override val size: Size
Link copied to clipboard
var top: Double
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var x: Double
Link copied to clipboard
var y: Double

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
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(that: MRectangle): Boolean
operator fun contains(that: Point): Boolean
fun contains(x: Int, y: Int): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
operator fun div(scale: Double): MRectangle
operator fun div(scale: Float): MRectangle
operator fun div(scale: Int): MRectangle
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
fun expand(margin: Margin): MRectangle
fun expand(left: Double, top: Double, right: Double, bottom: Double): MRectangle
inline fun expand(left: Number, top: Number, right: Number, bottom: Number): MRectangle
Link copied to clipboard
Link copied to clipboard
fun inflate(left: Double, top: Double = left, right: Double = left, bottom: Double = top): MRectangle
Link copied to clipboard
open override fun interpolateWith(ratio: Ratio, other: MRectangle): MRectangle
Link copied to clipboard
fun intersection(that: MRectangle, target: MRectangle = MRectangle()): MRectangle?
Link copied to clipboard
infix fun intersects(that: MRectangle): Boolean
Link copied to clipboard
infix fun intersectsX(that: MRectangle): Boolean
Link copied to clipboard
infix fun intersectsY(that: MRectangle): Boolean
Link copied to clipboard
open override fun isAlmostEquals(other: MRectangle, epsilon: Double): Boolean
Link copied to clipboard
fun normalize()
Link copied to clipboard

Circle that touches or contains all the corners (topLeft, topRight, bottomLeft, bottomRight) of the rectangle.

Link copied to clipboard
fun place(item: MSize, anchor: Anchor, scale: ScaleMode, out: MRectangle = MRectangle()): MRectangle
fun place(width: Double, height: Double, anchor: Anchor, scale: ScaleMode, out: MRectangle = MRectangle()): MRectangle
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun setBounds(left: Double, top: Double, right: Double, bottom: Double): MRectangle
fun setBounds(left: Float, top: Float, right: Float, bottom: Float): MRectangle
fun setBounds(left: Int, top: Int, right: Int, bottom: Int): MRectangle
Link copied to clipboard
fun setTo(x: Double, y: Double, width: Double, height: Double): MRectangle
fun setTo(x: Float, y: Float, width: Float, height: Float): MRectangle
fun setTo(x: Int, y: Int, width: Int, height: Int): MRectangle
Link copied to clipboard
fun setToAnchoredRectangle(item: MSize, anchor: Anchor, container: MRectangle): MRectangle
fun setToAnchoredRectangle(item: Size, anchor: Anchor, container: MRectangle): MRectangle
Link copied to clipboard
fun setToBounds(left: Double, top: Double, right: Double, bottom: Double): MRectangle
Link copied to clipboard
open override fun setToInterpolated(ratio: Ratio, l: MRectangle, r: MRectangle): MRectangle
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun setXY(x: Double, y: Double)
Link copied to clipboard
operator fun times(scale: Double): MRectangle
operator fun times(scale: Float): MRectangle
operator fun times(scale: Int): MRectangle
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun with(margin: Margin): MRectangle
Link copied to clipboard
fun without(padding: Margin): MRectangle