class lime.math.Rectangle

Instance Fields

var x:Float

var y:Float

function new(?x:Float, ?y:Float, ?width:Float, ?height:Float): Void

function __contract(x:Float, y:Float, width:Float, height:Float): Void

function __expand(x:Float, y:Float, width:Float, height:Float): Void

function clone(): Rectangle

function contains(x:Float, y:Float): Bool

function containsPoint(point:Vector2): Bool

function containsRect(rect:Rectangle): Bool

function copyFrom(sourceRect:Rectangle): Void

function equals(toCompare:Rectangle): Bool

function inflate(dx:Float, dy:Float): Void

function inflatePoint(point:Vector2): Void

function intersection(toIntersect:Rectangle): Rectangle

function intersects(toIntersect:Rectangle): Bool

function isEmpty(): Bool

function offset(dx:Float, dy:Float): Void

function offsetPoint(point:Vector2): Void

function setEmpty(): Void

function setTo(xa:Float, ya:Float, widtha:Float, heighta:Float): Void

function union(toUnion:Rectangle): Rectangle