class openfl.geom.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:Point): 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:Point): Void

function intersection(toIntersect:Rectangle): Rectangle

function intersects(toIntersect:Rectangle): Bool

function isEmpty(): Bool

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

function offsetPoint(point:Point): Void

function setEmpty(): Void

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

function toString(): String

function union(toUnion:Rectangle): Rectangle