正在准备搜索索引...
搜索索引不可用
LayaAir3引擎API
LayaAir3引擎API
laya/webgl/canvas/Path
Path
类 Path
索引
构造函数
constructor
属性
paths
方法
add
Point
begin
Path
close
Path
new
Path
push
reset
构造函数
constructor
new
Path
()
:
Path
返回
Path
属性
paths
paths
:
any
[]
= []
方法
add
Point
addPoint
(
pointX
:
number
,
pointY
:
number
)
:
void
参数
pointX
:
number
pointY
:
number
返回
void
begin
Path
beginPath
(
convex
:
boolean
)
:
void
参数
convex
:
boolean
返回
void
close
Path
closePath
()
:
void
返回
void
new
Path
newPath
()
:
void
返回
void
push
push
(
points
:
any
[]
,
convex
:
boolean
)
:
void
参数
points
:
any
[]
convex
:
boolean
返回
void
reset
reset
()
:
void
返回
void
切换版本:
显示设置
成员可见性
继承
外部
配色
自动
浅色
深色
目录
构造函数
constructor
属性
paths
方法
add
Point
begin
Path
close
Path
new
Path
push
reset
LayaAir3引擎API
加载中……