Adds other Bounds.
The Bounds to be added
Adds sprite frame, transformed.
transform to apply
left X of frame
top Y of frame
right X of frame
bottom Y of frame
Adds sprite frame, multiplied by matrix
matrix to apply
left X of frame
top Y of frame
right X of frame
bottom Y of frame
Adds padded frame. (x0, y0) should be strictly less than (x1, y1)
left X of frame
top Y of frame
right X of frame
bottom Y of frame
padding X
padding Y
This function should be inlined when its possible.
The point to add.
Adds a point, after transformed. This should be inlined when its possible.
Adds a quad, not transformed
The verts to add.
Adds screen vertices from array
calculated vertices
begin offset
end offset, excluded
Add an array of mesh vertices
mesh transform
mesh coordinates in array
begin offset
end offset, excluded
Add an array of mesh vertices.
mesh matrix
mesh coordinates in array
begin offset
end offset, excluded
Clears the bounds and resets.
Checks if bounds are empty.
True if empty.
Pads bounds object, making it grow in all directions. If paddingY is omitted, both paddingX and paddingY will be set to paddingX.
Generated using TypeDoc
'Builder' pattern for bounds rectangles.
This could be called an Axis-Aligned Bounding Box. It is not an actual shape. It is a mutable thing; no 'EMPTY' or those kind of problems.
PIXI