Extends
- Geometry
Members
Get the current bounds of the graphic geometry.
Methods
Check to see if a point is contained within this geometry.
| Name | Type | Description |
|---|---|---|
point |
PIXI.IPointData |
Point to check if it's contained. |
Returns:
| Type | Description |
|---|---|
| Boolean | true if the point is contained within geometry. |
Affinity check
| Name | Type | Description |
|---|---|---|
styleA |
PIXI.FillStyle | PIXI.LineStyle | |
styleB |
PIXI.FillStyle | PIXI.LineStyle |
Returns:
| Type | Description |
|---|---|
| boolean |
Converts intermediate batches data to drawCalls.
| Name | Type | Attributes | Description |
|---|---|---|---|
shaderSettings |
PIXI.smooth.IGraphicsBatchSettings |
<optional> |
Update the local bounds of the object. Expensive to use performance-wise.
Call if you changed graphicsData manually. Empties all batch buffers.
Offset the indices so that it works with the batcher.
Transform points using matrix.
| Name | Type | Description |
|---|---|---|
points |
Array<number> |
Points to transform |
matrix |
PIXI.Matrix |
Transform matrix |
Test geometry for batching process.
Returns:
| Type | Description |
|---|---|
| boolean |