Rect

binpacking.Rect (Class)

Instance Members



width: Float

height: Float

flipped: Bool

clone(): Rect
Returns
Rect

isContainedIn(other: Rect): Bool
Name Type
other Rect
Returns
Bool

new(?x: Float = 0, ?y: Float = 0, ?width: Float = 0, ?height: Float = 0, ?flipped: Bool = false): Void
Name Type Default
x Float 0
y Float 0
width Float 0
height Float 0
flipped Bool false