Search
Preparing search index...
The search index is not available
博锐尚格绘制引擎
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
SGraphPointListInsert
Class SGraphPointListInsert
多边形、折线等相关顶点的位置插入命令
author
韩耀龙
Hierarchy
SGraphCommand
SGraphPointListInsert
Index
Constructors
constructor
Properties
command
desc
index
item
point
List
pos
scene
Methods
id
merge
With
redo
to
String
undo
Constructors
constructor
new SGraph
Point
List
Insert
(
scene
:
SGraphScene
, item
:
SGraphItem
, pointList
:
SPoint
[]
, pos
:
SPoint
, index
?:
number
|
null
)
:
SGraphPointListInsert
构造函数
Parameters
scene:
SGraphScene
item所在场景
item:
SGraphItem
指向item对象
pointList:
SPoint
[]
顶点数组
pos:
SPoint
当前位置
Default value
index:
number
|
null
= null
索引
Returns
SGraphPointListInsert
Properties
Readonly
command
command
:
string
命令名称
desc
desc
:
string
index
index
:
number
|
null
索引
item
item
:
SGraphItem
指向item对象
point
List
point
List
:
SPoint
[]
顶点数组
pos
pos
:
SPoint
当前位置
scene
scene
:
SGraphScene
|
null
= null
命令所属的场景类
Methods
id
id
(
)
:
number
Returns
number
merge
With
merge
With
(
command
:
SUndoCommand
)
:
boolean
Parameters
command:
SUndoCommand
Returns
boolean
redo
redo
(
)
:
void
执行重做操作执行
Returns
void
to
String
to
String
(
)
:
string
命令细节描述
Returns
string
undo
undo
(
)
:
void
执行取消操作执行
Returns
void
Globals
SGraph
Point
List
Insert
constructor
command
desc
index
item
point
List
pos
scene
id
merge
With
redo
to
String
undo
多边形、折线等相关顶点的位置插入命令
韩耀龙