Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
PIXI
Graphics
Class Graphics
Hierarchy
DisplayObjectContainer
Graphics
Index
Constructor methods
constructor
Properties
CIRC
ELIP
POLY
RECT
alpha
buttonMode
children
click
filter
hitArea
interactive
lineColor
lineWidth
mask
mousedown
mousemove
mouseout
mouseover
mouseup
mouseupoutside
parent
pivot
position
renderable
rotation
scale
stage
tap
touchend
touchendoutside
touchmove
touchstart
visible
worldAlpha
Methods
addChild
addChildAt
beginFill
clear
drawCircle
drawElipse
drawRect
endFill
getChildAt
lineStyle
lineTo
moveTo
removeChild
setInteractive
swapChildren
Constructor methods
constructor
(
)
:
Graphics
Returns
Graphics
Properties
public
static
CIRC
:
number
public
static
ELIP
:
number
public
static
POLY
:
number
public
static
RECT
:
number
public
alpha
:
number
public
buttonMode
:
boolean
public
children
:
DisplayObject
[]
public
click
:
IInteractionDataCallback
public
filter
:
boolean
public
hitArea
:
IHitArea
public
interactive
:
boolean
public
lineColor
:
string
public
lineWidth
:
number
public
mask
:
Graphics
public
mousedown
:
IInteractionDataCallback
public
mousemove
:
IInteractionDataCallback
public
mouseout
:
IInteractionDataCallback
public
mouseover
:
IInteractionDataCallback
public
mouseup
:
IInteractionDataCallback
public
mouseupoutside
:
IInteractionDataCallback
public
parent
:
DisplayObjectContainer
public
pivot
:
Point
public
position
:
Point
public
renderable
:
boolean
public
rotation
:
number
public
scale
:
Point
public
stage
:
Stage
public
tap
:
IInteractionDataCallback
public
touchend
:
IInteractionDataCallback
public
touchendoutside
:
IInteractionDataCallback
public
touchmove
:
IInteractionDataCallback
public
touchstart
:
IInteractionDataCallback
public
visible
:
boolean
public
worldAlpha
:
number
Methods
public
addChild
(
child
:
DisplayObject
)
Parameters
child:
DisplayObject
public
addChildAt
(
child
:
DisplayObject
, index
:
number
)
Parameters
child:
DisplayObject
index:
number
public
beginFill
(
color
?:
number
, alpha
?:
number
)
Parameters
color?:
number
optional
alpha?:
number
optional
public
clear
(
)
public
drawCircle
(
x
:
number
, y
:
number
, radius
:
number
)
Parameters
x:
number
y:
number
radius:
number
public
drawElipse
(
x
:
number
, y
:
number
, width
:
number
, height
:
number
)
Parameters
x:
number
y:
number
width:
number
height:
number
public
drawRect
(
x
:
number
, y
:
number
, width
:
number
, height
:
number
)
Parameters
x:
number
y:
number
width:
number
height:
number
public
endFill
(
)
public
getChildAt
(
index
:
number
)
:
DisplayObject
Parameters
index:
number
Returns
DisplayObject
public
lineStyle
(
lineWidth
?:
number
, color
?:
number
, alpha
?:
number
)
Parameters
lineWidth?:
number
optional
color?:
number
optional
alpha?:
number
optional
public
lineTo
(
x
:
number
, y
:
number
)
Parameters
x:
number
y:
number
public
moveTo
(
x
:
number
, y
:
number
)
Parameters
x:
number
y:
number
public
removeChild
(
child
:
DisplayObject
)
Parameters
child:
DisplayObject
public
setInteractive
(
interactive
:
boolean
)
Parameters
interactive:
boolean
public
swapChildren
(
child
:
DisplayObject
, child2
:
DisplayObject
)
Parameters
child:
DisplayObject
child2:
DisplayObject
Globals
PIXI
PIXI.PolyK
BaseTextureCache
FrameCache
TextureCache
blendModes
gl
texturesToDestroy
texturesToUpdate
IBasicCallback
IBitmapTextStyle
IEvent
IHitArea
IInteractionDataCallback
IPixiRenderer
ITextStyle
AssetLoader
BaseTexture
BitmapFontLoader
BitmapText
CanvasRenderer
Circle
CustomRenderable
DisplayObject
DisplayObjectContainer
Ellipse
EventTarget
Graphics
constructor
CIRC
ELIP
POLY
RECT
alpha
buttonMode
children
click
filter
hitArea
interactive
lineColor
lineWidth
mask
mousedown
mousemove
mouseout
mouseover
mouseup
mouseupoutside
parent
pivot
position
renderable
rotation
scale
stage
tap
touchend
touchendoutside
touchmove
touchstart
visible
worldAlpha
addChild
addChildAt
beginFill
clear
drawCircle
drawElipse
drawRect
endFill
getChildAt
lineStyle
lineTo
moveTo
removeChild
setInteractive
swapChildren
ImageLoader
InteractionData
InteractionManager
JsonLoader
MovieClip
Point
Polygon
Rectangle
RenderTexture
Sprite
SpriteSheetLoader
Stage
Text
Texture
TilingSprite
WebGLBatch
WebGLRenderGroup
WebGLRenderer
FilterBlock
MaskFilter
autoDetectRenderer
runList