Search
Preparing search index...
The search index is not available
pixis
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"Rect"
Pixis
Rect
Class Rect
Hierarchy
GraphicsShape
Rect
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
Rect
(
config
:
IRectConfig
)
:
Rect
Parameters
config:
IRectConfig
Returns
Rect
Properties
attrs
attrs
:
IRectConfig
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"
"
Rect"
Pixis
"
Regular
Polygon"
"
Star"
"
Text"
Rect
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
IRect
Config
Generated using
TypeDoc