Search
Preparing search index...
The search index is not available
@tawaship/pixi-animate-core - v3.4.0
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@tawaship/pixi-animate-core - v3.4.0
CreatejsGraphics
Class CreatejsGraphics
createjs.Graphics
Hierarchy
IMixinedCreatejsDisplayObject
<
this
>
CreatejsGraphics
Implements
ICreatejsDisplayObjectUpdater
ICreatejsDisplayObjectInitializer
Index
Constructors
constructor
Properties
_createjs
Event
Manager
_createjs
Params
_off
_pixi
Data
alpha
mask
pixi
regX
regY
rotation
scaleX
scaleY
skewX
skewY
visible
x
y
Methods
_parse
Color
a
add
Event
Listener
arc
arc
To
at
begin
Fill
begin
Stroke
bezier
Curve
To
bt
c
clear
close
Path
cp
curve
To
dc
de
dp
dr
draw
Circle
draw
Ellipse
draw
Poly
Star
draw
Rect
draw
Round
Rect
ef
end
Fill
f
initialize
line
To
lt
move
To
mt
qt
quadratic
Curve
To
r
rect
remove
All
Event
Listeners
remove
Event
Listener
rr
s
set
Stroke
Style
ss
update
For
Pixi
Constructors
constructor
new
Createjs
Graphics
(
...
args
:
any
[]
)
:
CreatejsGraphics
Parameters
Rest
...
args:
any
[]
Returns
CreatejsGraphics
Properties
Protected
_createjs
Event
Manager
_createjs
Event
Manager
:
EventManager
Protected
_createjs
Params
_createjs
Params
:
ICreatejsGraphicsParam
_off
_off
:
boolean
Protected
_pixi
Data
_pixi
Data
:
IPixiGraphicsData
alpha
alpha
:
number
mask
mask
:
TCreatejsMask
pixi
pixi
:
Container
regX
regX
:
number
regY
regY
:
number
rotation
rotation
:
number
scaleX
scaleX
:
number
scaleY
scaleY
:
number
skewX
skewX
:
number
skewY
skewY
:
number
visible
visible
:
boolean
x
x
:
number
y
y
:
number
Methods
Private
_parse
Color
_parse
Color
(
color
:
string
)
:
{
alpha
:
number
;
color
:
number
}
Parameters
color:
string
Returns
{
alpha
:
number
;
color
:
number
}
alpha
:
number
color
:
number
a
a
(
x
:
number
, y
:
number
, radius
:
number
, startAngle
:
number
, endAngle
:
number
, anticlockwise
:
boolean
)
:
any
Parameters
x:
number
y:
number
radius:
number
startAngle:
number
endAngle:
number
anticlockwise:
boolean
Returns
any
add
Event
Listener
add
Event
Listener
(
type
:
string
, cb
:
ICreatejsInteractionEventDelegate
|
CreatejsButtonHelper
,
...
args
:
any
[]
)
:
any
Parameters
type:
string
cb:
ICreatejsInteractionEventDelegate
|
CreatejsButtonHelper
Rest
...
args:
any
[]
Returns
any
arc
arc
(
x
:
number
, y
:
number
, radius
:
number
, startAngle
:
number
, endAngle
:
number
, anticlockwise
:
boolean
)
:
any
Parameters
x:
number
y:
number
radius:
number
startAngle:
number
endAngle:
number
anticlockwise:
boolean
Returns
any
arc
To
arc
To
(
x1
:
number
, y1
:
number
, x2
:
number
, y2
:
number
, radius
:
number
)
:
any
Parameters
x1:
number
y1:
number
x2:
number
y2:
number
radius:
number
Returns
any
at
at
(
x1
:
number
, y1
:
number
, x2
:
number
, y2
:
number
, radius
:
number
)
:
any
Parameters
x1:
number
y1:
number
x2:
number
y2:
number
radius:
number
Returns
any
begin
Fill
begin
Fill
(
color
:
string
)
:
any
Parameters
color:
string
Returns
any
begin
Stroke
begin
Stroke
(
color
:
string
)
:
any
Parameters
color:
string
Returns
any
bezier
Curve
To
bezier
Curve
To
(
cp1x
:
number
, cp1y
:
number
, cp2x
:
number
, cp2y
:
number
, x
:
number
, y
:
number
)
:
any
Parameters
cp1x:
number
cp1y:
number
cp2x:
number
cp2y:
number
x:
number
y:
number
Returns
any
bt
bt
(
cp1x
:
number
, cp1y
:
number
, cp2x
:
number
, cp2y
:
number
, x
:
number
, y
:
number
)
:
any
Parameters
cp1x:
number
cp1y:
number
cp2x:
number
cp2y:
number
x:
number
y:
number
Returns
any
c
c
(
)
:
any
Returns
any
clear
clear
(
)
:
any
Returns
any
close
Path
close
Path
(
)
:
any
Returns
any
cp
cp
(
)
:
any
Returns
any
curve
To
curve
To
(
cpx
:
number
, cpy
:
number
, x
:
number
, y
:
number
)
:
any
Parameters
cpx:
number
cpy:
number
x:
number
y:
number
Returns
any
dc
dc
(
x
:
number
, y
:
number
, radius
:
number
)
:
any
Parameters
x:
number
y:
number
radius:
number
Returns
any
de
de
(
x
:
number
, y
:
number
, w
:
number
, h
:
number
)
:
any
Parameters
x:
number
y:
number
w:
number
h:
number
Returns
any
dp
dp
(
x
:
number
, y
:
number
, radius
:
number
, sides
:
number
, pointSize
:
number
, angle
:
number
)
:
any
Parameters
x:
number
y:
number
radius:
number
sides:
number
pointSize:
number
angle:
number
Returns
any
dr
dr
(
x
:
number
, y
:
number
, w
:
number
, h
:
number
)
:
any
Parameters
x:
number
y:
number
w:
number
h:
number
Returns
any
draw
Circle
draw
Circle
(
x
:
number
, y
:
number
, radius
:
number
)
:
any
Parameters
x:
number
y:
number
radius:
number
Returns
any
draw
Ellipse
draw
Ellipse
(
x
:
number
, y
:
number
, w
:
number
, h
:
number
)
:
any
Parameters
x:
number
y:
number
w:
number
h:
number
Returns
any
draw
Poly
Star
draw
Poly
Star
(
x
:
number
, y
:
number
, radius
:
number
, sides
:
number
, pointSize
:
number
, angle
:
number
)
:
any
Parameters
x:
number
y:
number
radius:
number
sides:
number
pointSize:
number
angle:
number
Returns
any
draw
Rect
draw
Rect
(
x
:
number
, y
:
number
, w
:
number
, h
:
number
)
:
any
Parameters
x:
number
y:
number
w:
number
h:
number
Returns
any
draw
Round
Rect
draw
Round
Rect
(
x
:
number
, y
:
number
, w
:
number
, h
:
number
, radius
:
number
)
:
any
Parameters
x:
number
y:
number
w:
number
h:
number
radius:
number
Returns
any
ef
ef
(
)
:
any
Returns
any
end
Fill
end
Fill
(
)
:
any
Returns
any
f
f
(
color
:
string
)
:
any
Parameters
color:
string
Returns
any
initialize
initialize
(
...
args
:
any
[]
)
:
any
Parameters
Rest
...
args:
any
[]
Returns
any
line
To
line
To
(
x
:
number
, y
:
number
)
:
any
Parameters
x:
number
y:
number
Returns
any
lt
lt
(
x
:
number
, y
:
number
)
:
any
Parameters
x:
number
y:
number
Returns
any
move
To
move
To
(
x
:
number
, y
:
number
)
:
any
Parameters
x:
number
y:
number
Returns
any
mt
mt
(
x
:
number
, y
:
number
)
:
any
Parameters
x:
number
y:
number
Returns
any
qt
qt
(
cpx
:
number
, cpy
:
number
, x
:
number
, y
:
number
)
:
any
Parameters
cpx:
number
cpy:
number
x:
number
y:
number
Returns
any
quadratic
Curve
To
quadratic
Curve
To
(
cpx
:
number
, cpy
:
number
, x
:
number
, y
:
number
)
:
any
Parameters
cpx:
number
cpy:
number
x:
number
y:
number
Returns
any
r
r
(
x
:
number
, y
:
number
, w
:
number
, h
:
number
)
:
any
Parameters
x:
number
y:
number
w:
number
h:
number
Returns
any
rect
rect
(
x
:
number
, y
:
number
, w
:
number
, h
:
number
)
:
any
Parameters
x:
number
y:
number
w:
number
h:
number
Returns
any
remove
All
Event
Listeners
remove
All
Event
Listeners
(
type
?:
string
,
...
args
:
any
[]
)
:
any
Parameters
Optional
type:
string
Rest
...
args:
any
[]
Returns
any
remove
Event
Listener
remove
Event
Listener
(
type
:
string
, cb
:
ICreatejsInteractionEventDelegate
,
...
args
:
any
[]
)
:
any
Parameters
type:
string
cb:
ICreatejsInteractionEventDelegate
Rest
...
args:
any
[]
Returns
any
rr
rr
(
x
:
number
, y
:
number
, w
:
number
, h
:
number
, radius
:
number
)
:
any
Parameters
x:
number
y:
number
w:
number
h:
number
radius:
number
Returns
any
s
s
(
color
:
string
)
:
any
Parameters
color:
string
Returns
any
set
Stroke
Style
set
Stroke
Style
(
thickness
:
number
, caps
:
0
|
1
|
2
, joints
:
0
|
1
|
2
, miterLimit
:
number
, ignoreScale
:
boolean
)
:
any
Parameters
thickness:
number
caps:
0
|
1
|
2
joints:
0
|
1
|
2
miterLimit:
number
ignoreScale:
boolean
Returns
any
ss
ss
(
thickness
:
number
, caps
:
0
|
1
|
2
, joints
:
0
|
1
|
2
, miterLimit
:
number
, ignoreScale
:
boolean
)
:
any
Parameters
thickness:
number
caps:
0
|
1
|
2
joints:
0
|
1
|
2
miterLimit:
number
ignoreScale:
boolean
Returns
any
update
For
Pixi
update
For
Pixi
(
e
:
ITickerData
)
:
boolean
Parameters
e:
ITickerData
Returns
boolean
Exports
Createjs
Graphics
constructor
_createjs
Event
Manager
_createjs
Params
_off
_pixi
Data
alpha
mask
pixi
regX
regY
rotation
scaleX
scaleY
skewX
skewY
visible
x
y
_parse
Color
a
add
Event
Listener
arc
arc
To
at
begin
Fill
begin
Stroke
bezier
Curve
To
bt
c
clear
close
Path
cp
curve
To
dc
de
dp
dr
draw
Circle
draw
Ellipse
draw
Poly
Star
draw
Rect
draw
Round
Rect
ef
end
Fill
f
initialize
line
To
lt
move
To
mt
qt
quadratic
Curve
To
r
rect
remove
All
Event
Listeners
remove
Event
Listener
rr
s
set
Stroke
Style
ss
update
For
Pixi
Generated using
TypeDoc
createjs.Graphics