ShapeActionsCommand Constructor(Shape,FreeFormNode,Int32,Int32,Int32,Size)
In This Topic
Initializes a new instance of the
ShapeActionsCommand class for creating node of the editing shape.
Syntax
'Declaration
Public Function New( _
ByVal As Shape, _
ByVal As FreeFormNode, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
Optional ByVal As Size _
)
'Usage
Dim activeDrawingObject As Shape
Dim addingNode As FreeFormNode
Dim pathIndex As Integer
Dim beforeNodeIndex As Integer
Dim afterNodeIndex As Integer
Dim shapeChange As Size
Dim instance As New ShapeActionsCommand(activeDrawingObject, addingNode, pathIndex, beforeNodeIndex, afterNodeIndex, shapeChange)
public ShapeActionsCommand(
Shape ,
FreeFormNode ,
int ,
int ,
int ,
Size
)
Parameters
- activeDrawingObject
- The GrapeCity.Spreadsheet.Drawing.Shape that will be modified.
- addingNode
- The GrapeCity.Spreadsheet.API.Drawing.FreeFormNode that will be added to shape's segments.
- pathIndex
- beforeNodeIndex
- The GrapeCity.Spreadsheet.API.Drawing.FreeFormNode before the
- afterNodeIndex
- The GrapeCity.Spreadsheet.API.Drawing.FreeFormNode after the
- shapeChange
- The shape moving distance.
See Also