正在准备搜索索引...
搜索索引不可用
LayaAir3引擎API
LayaAir3引擎API
laya/Line2D/Draw2DLineCMD
Draw2DLineCMD
类 Draw2DLineCMD
层级 (
查看完整内容
)
Command2D
Draw2DLineCMD
索引
构造函数
constructor
属性
_line2DRender
方法
_set
Matrix
destroy
recover
run
create
构造函数
constructor
new
Draw2DLineCMD
(
)
:
Draw2DLineCMD
返回
Draw2DLineCMD
属性
_line2DRender
_line2DRender
:
Line2DRender
方法
_set
Matrix
_set
Matrix
(
value
)
:
void
参数
value
:
Matrix
返回
void
destroy
destroy
(
)
:
void
返回
void
recover
recover
(
)
:
void
返回
void
En
Recycles the rendering command.
Zh
回收渲染指令。
run
run
(
)
:
void
返回
void
En
Runs the command.
Zh
运行命令。
静态
create
create
(
pointArray
,
mat
,
color
?
,
lineWidth
?
)
:
Draw2DLineCMD
参数
pointArray
:
number
[]
mat
:
Matrix
color
:
Color
= Color.WHITE
lineWidth
:
number
= 3
返回
Draw2DLineCMD
切换版本:
显示设置
成员可见性
继承
外部
配色
自动
浅色
深色
目录
构造函数
constructor
属性
_line2DRender
方法
_set
Matrix
destroy
recover
run
create
LayaAir3引擎API
加载中……
En
Recycles the rendering command.
Zh
回收渲染指令。