Search
Preparing search index...
The search index is not available
pixis
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"Core"
Pixis
GraphicsShape
Class GraphicsShape
Hierarchy
Shape
GraphicsShape
Arc
Circle
Line
Path
Rect
RegularPolygon
Star
Index
Constructors
constructor
Properties
attrs
class
Name
parent
shape
Methods
cal
Hit
Area
Box
clear
draw
get
Attr
hide
move
rotate
scale
set
Attrs
set
Pivot
set
Postion
set
Rotation
show
tween
Constructors
constructor
new
Graphics
Shape
(
config
:
any
)
:
GraphicsShape
Parameters
config:
any
Returns
GraphicsShape
Properties
attrs
attrs
:
IGraphicsShapeConfig
class
Name
class
Name
:
string
parent
parent
:
IContainer
shape
shape
:
Graphics
Methods
cal
Hit
Area
Box
cal
Hit
Area
Box
(
)
:
Rectangle
Returns
Rectangle
clear
clear
(
)
:
void
Returns
void
draw
draw
(
)
:
void
Returns
void
get
Attr
get
Attr
(
attr
:
string
)
:
any
Parameters
attr:
string
Returns
any
hide
hide
(
)
:
void
Returns
void
move
move
(
offsetX
:
number
, offsetY
:
number
)
:
void
Parameters
offsetX:
number
offsetY:
number
Returns
void
rotate
rotate
(
offsetAngle
:
number
)
:
void
Parameters
offsetAngle:
number
Returns
void
scale
scale
(
x
:
number
, y
:
number
)
:
void
Parameters
x:
number
y:
number
Returns
void
set
Attrs
set
Attrs
(
config
:
IGraphicsShapeConfig
)
:
void
Parameters
config:
IGraphicsShapeConfig
Returns
void
set
Pivot
set
Pivot
(
x
:
number
, y
:
number
)
:
void
Parameters
x:
number
y:
number
Returns
void
set
Postion
set
Postion
(
x
:
number
, y
:
number
)
:
void
Parameters
x:
number
y:
number
Returns
void
set
Rotation
set
Rotation
(
angle
:
number
)
:
void
Parameters
angle:
number
Returns
void
show
show
(
)
:
void
Returns
void
tween
tween
(
duration
:
number
, to
:
any
, easing
?:
function
)
:
Tween
Parameters
duration:
number
to:
any
Optional
easing:
function
(
t
:
number
, b
:
number
, c
:
number
, d
:
number
)
:
number
Parameters
t:
number
b:
number
c:
number
d:
number
Returns
number
Returns
Tween
Globals
"
Animation"
"
Arc"
"
Circle"
"
Core"
Pixis
Util
"
Draw"
"
Group"
"
Image"
"
Line"
"
Path"
"
Rect"
"
Regular
Polygon"
"
Star"
"
Text"
Graphics
Shape
constructor
attrs
class
Name
parent
shape
cal
Hit
Area
Box
clear
draw
get
Attr
hide
move
rotate
scale
set
Attrs
set
Pivot
set
Postion
set
Rotation
show
tween
Shape
Stage
IContainer
IGraphics
Shape
Config
IPoint
IShape
Config
Anim
Statuses
Hit
Area
Type
Generated using
TypeDoc