sparkle-engine
sparkle-engine
Path
Class Path
表示一个路径
Index
Constructors
constructor
Properties
first
Point
fist
Stack
path
start
Point
Methods
begin
Path
circle
Path
clear
Path
for
Each
Line
for
Each
Point
line
To
move
To
polygon
Path
rect
Path
Constructors
constructor
new
Path
(
)
:
Path
Returns
Path
Properties
first
Point
first
Point
:
boolean
= true
fist
Stack
fist
Stack
:
boolean
[]
= []
path
path
:
Vector2
[]
= []
Private
start
Point
start
Point
:
Vector2
= ...
Methods
begin
Path
begin
Path
(
)
:
void
Returns
void
circle
Path
circle
Path
(
radius
)
:
void
Parameters
radius
:
number
Returns
void
clear
Path
clear
Path
(
)
:
void
Returns
void
for
Each
Line
for
Each
Line
(
fn
)
:
void
Parameters
fn
:
(
(
start
,
end
)
=>
void
)
(
start
,
end
)
:
void
Parameters
start
:
Vector2
end
:
Vector2
Returns
void
Returns
void
for
Each
Point
for
Each
Point
(
fn
)
:
void
Parameters
fn
:
(
(
point
,
i
)
=>
void
)
(
point
,
i
)
:
void
Parameters
point
:
Vector2
i
:
number
Returns
void
Returns
void
line
To
line
To
(
x
,
y
)
:
void
Parameters
x
:
number
y
:
number
Returns
void
move
To
move
To
(
x
,
y
)
:
void
Parameters
x
:
number
y
:
number
Returns
void
polygon
Path
polygon
Path
(
path
)
:
void
Parameters
path
:
Vector2
[]
Returns
void
rect
Path
rect
Path
(
r
)
:
void
Parameters
r
:
Rect
Returns
void
Preparing search index...
The search index is not available
sparkle-engine
CONTENTS
Math
Color
MathUtils
Matrix
Path
Rect
Vector2
GameNode
Collision
Container
Drawable
Graphical
Sprite
Text
Timer
Transform2D
Texture
AltasTexture
BaseTexture
Texture
TextureManager
Input
InputManager
MouseManager
Physics
Collision
PhysicsManager
Audio
Audio
AudioManager
Others
DebuggerDrawType
GraphicalType
PRIMITIVE_MODE
ResourcesType
SCALE_MODE
TextAnchor
Animations
DataResources
EventEmitter
GLShader
Loader
ObjectPool
Renderer
Resources
ResourcesManager
Scene
SparkleEngine
TextManager
VertexArrayBuffer
AnimationsStore
AttributeInfo
IAnimationFrames
IAnimationOption
IAudioEvent
IBaseGraphicalOptions
ICircleOptions
ICollisionEvent
ICollisionOptions
ICollisionResult
ICompositorOptions
IContainerEvent
IContainerOptions
ICopyable
IDebuggerDraw
IDestoryable
IDrawLineOptions
IDrawOptions
IDrawPolygonOptions
IDrawableOptions
IEventAble
IInputEvents
IListened
ILoadAnimationOptions
ILoaderEvent
IMouseData
IMouseEvents
IPolygonOptions
IPoolable
IRectOptions
IRenderOptions
IResources
IResourcesManagerEvent
IResourcesStore
ISparkleEngineOption
ISpriteOptions
ITextOptions
ITimerEvents
ITimerOptions
ITransform2DOptions
PoolTypes
AttributesLocation
Constructor
IGraphicalOptions
Images
表示一个路径