Name | Type | Default | Description |
---|---|---|---|
shape |
PIXI.Circle | PIXI.Ellipse | PIXI.Polygon | PIXI.Rectangle | PIXI.RoundedRectangle |
The shape object to draw. |
|
fillStyle |
PIXI.FillStyle | null |
optional
the width of the line to draw |
lineStyle |
PIXI.LineStyle | null |
optional
the color of the line to draw |
matrix |
PIXI.Matrix | null |
optional
Transform matrix |
Members
-
fillStyle PIXI.FillStyle
-
The style of the fill.
-
holes Array.<PIXI.GraphicsData>
-
The collection of holes.
-
lineStyle PIXI.LineStyle
-
The style of the line.
-
matrix PIXI.Matrix
-
The transform matrix.
-
The collection of points.
-
shape PIXI.Circle | PIXI.Ellipse | PIXI.Polygon | PIXI.Rectangle | PIXI.RoundedRectangle
-
The shape object to draw.
-
The type of the shape, see the Const.Shapes file for all the existing types,
Methods
-
clone ()PIXI.GraphicsData
-
Creates a new GraphicsData object with the same values as this one.
Returns:
Type Description PIXI.GraphicsData Cloned GraphicsData object -
Destroys the Graphics data.