Search
Preparing search index...
The search index is not available
博锐尚格绘制引擎
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
SGraphPointListDelete
Class SGraphPointListDelete
多边形、折线等相关顶点的位置删除命令
author
韩耀龙
Hierarchy
SGraphCommand
SGraphPointListDelete
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
Delete
(
scene
:
SGraphScene
, item
:
SGraphItem
, pointList
:
SPoint
[]
, pos
:
SPoint
, index
?:
number
|
null
)
:
SGraphPointListDelete
构造函数
Parameters
scene:
SGraphScene
item所在场景
item:
SGraphItem
指向item对象
pointList:
SPoint
[]
顶点数组
pos:
SPoint
删除的点
Default value
index:
number
|
null
= null
索引
Returns
SGraphPointListDelete
Properties
Readonly
command
command
:
string
命令名称
desc
desc
:
string
index
index
:
number
|
null
索引
item
item
:
SGraphItem
指向item对象
point
List
point
List
:
SPoint
[]
顶点数组
pos
pos
:
SPoint
|
null
删除位置
scene
scene
:
SGraphScene
|
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
Layout
Type
SImage
Show
Type
SLine
Style
SOrder
Set
Type
SText
Origin
Image
Edit
Line
Edit
Polygon
Edit
Polyline
Edit
SGraph
Add
Command
SGraph
Command
SGraph
Edit
SGraph
Move
Command
SGraph
Point
List
Delete
constructor
command
desc
index
item
point
List
pos
scene
id
merge
With
redo
to
String
undo
SGraph
Point
List
Insert
SGraph
Point
List
Update
SGraph
Property
Command
Text
Edit
多边形、折线等相关顶点的位置删除命令
韩耀龙