Members
-
- Default Value:
- 0
-
- Default Value:
- 0
-
- Default Value:
- 0
-
- Default Value:
- 0
Methods
-
Adds other Bounds
Name Type Description bounds
PIXI.Bounds TODO
-
Adds other Bounds, masked with Rectangle
Name Type Description bounds
PIXI.Bounds TODO
area
PIXI.Rectangle TODO
-
Adds other Bounds, masked with Bounds
Name Type Description bounds
PIXI.Bounds TODO
mask
PIXI.Bounds TODO
-
Adds other Bounds, multiplied by matrix. Bounds shouldn't be empty
Name Type Description bounds
PIXI.Bounds other bounds
matrix
PIXI.Matrix multiplicator
-
Adds sprite frame, transformed.
Name Type Description transform
PIXI.Transform transform to apply
x0
number left X of frame
y0
number top Y of frame
x1
number right X of frame
y1
number bottom Y of frame
-
Adds sprite frame, multiplied by matrix
Name Type Description matrix
PIXI.Matrix matrix to apply
x0
number left X of frame
y0
number top Y of frame
x1
number right X of frame
y1
number bottom Y of frame
-
Adds padded frame. (x0, y0) should be strictly less than (x1, y1)
Name Type Description x0
number left X of frame
y0
number top Y of frame
x1
number right X of frame
y1
number bottom Y of frame
padX
number padding X
padY
number padding Y
-
This function should be inlined when its possible.
Name Type Description point
PIXI.Point The point to add.
-
Adds a quad, not transformed
Name Type Description vertices
Float32Array The verts to add.
-
Adds screen vertices from array
Name Type Description vertexData
Float32Array calculated vertices
beginOffset
number begin offset
endOffset
number end offset, excluded
-
Add an array of mesh vertices
Name Type Description transform
PIXI.Transform mesh transform
vertices
Float32Array mesh coordinates in array
beginOffset
number begin offset
endOffset
number end offset, excluded
-
Add an array of mesh vertices
Name Type Description matrix
PIXI.Matrix mesh matrix
vertices
Float32Array mesh coordinates in array
beginOffset
number begin offset
endOffset
number end offset, excluded
padX
number optional x padding
padY
number optional y padding
-
Clears the bounds and resets.
-
getRectangle (rect)PIXI.Rectangle
-
Can return Rectangle.EMPTY constant, either construct new rectangle, either use your rectangle It is not guaranteed that it will return tempRect
Name Type Description rect
PIXI.Rectangle temporary object will be used if AABB is not empty
Returns:
Type Description PIXI.Rectangle A rectangle of the bounds -
Checks if bounds are empty.
Returns:
Type Description boolean 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.
Name Type Default Description paddingX
number 0 optional The horizontal padding amount.
paddingY
number 0 optional The vertical padding amount.