Search
Preparing search index...
The search index is not available
pixis
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"Path"
Pixis
Path
Class Path
Hierarchy
GraphicsShape
Path
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
Path
(
config
:
any
)
:
Path
Parameters
config:
any
Returns
Path
Properties
attrs
attrs
:
IPathConfig
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"
"
Draw"
"
Group"
"
Image"
"
Line"
"
Path"
Pixis
"
Rect"
"
Regular
Polygon"
"
Star"
"
Text"
Path
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
IPath
Config
IPath
Data
calc
Length
convert
Endpoint
ToCenter
Parameterization
get
Line
Length
get
Point
OnCubic
Bezier
get
Point
OnElliptical
Arc
get
Point
OnQuadratic
Bezier
parse
Path
Data
Generated using
TypeDoc