Oversized tag on rectangle which is bigger than packer itself.
If the rectangle allow rotation
Set the allowRotation tag of the rectangle.
If the rectangle is rotated
note: after rot
is set, width/height
of this rectangle is swaped.
Set the rotate tag of the rectangle.
note: after rot
is set, width/height
of this rectangle is swaped.
Get the area (w * h) of the rectangle
Test if the given rectangle collide with this rectangle.
Test if this rectangle contains the given rectangle.
Test if two given rectangle collide each other
Test if the first rectangle contains the second one
Generated using TypeDoc
Creates an instance of Rectangle.
Rectangle