Parameters
- index
- The number of the shape node after which to insert a new node.
- segmentType
- The segment type.
- editingType
- The editing type.
- x1
- If the editingType of the new segment is EditingType.Auto, this argument specifies the horizontal distance, measured in pixels, from the upper-left corner of the document to the end point of the new segment.
If the editingType of the new node is EditingType.Corner , this argument specifies the horizontal distance, measured in pixels, from the upper-left corner of the document to the first control point for the new segment.
- y1
- If the editingType of the new segment is EditingType.Auto, this argument specifies the vertical distance, measured in pixels, from the upper-left corner of the document to the end point of the new segment.
If the editingType of the new node is EditingType.Corner , this argument specifies the vertical distance, measured in pixels, from the upper-left corner of the document to the first control point for the new segment.
- x2
- If the editingType of the new segment is EditingType.Corner, this argument specifies the horizontal distance, measured in pixels, from the upper-left corner of the document to the second control point for the new segment.
If the editingType of the new segment is EditingType.Auto , don't specify a value for this argument.
- y2
- If the editingType of the new segment is EditingType.Corner , this argument specifies the vertical distance, measured in pixels, from the upper-left corner of the document to the second control point for the new segment.
If the editingType of the new segment is EditingType.Auto , don't specify a value for this argument.
- x3
- If the editingType of the new segment is EditingType.Corner , this argument specifies the horizontal distance, measured in pixels, from the upper-left corner of the document to the end point of the new segment.
If the editingType of the new segment is EditingType.Auto , don't specify a value for this argument.
- y3
- If the editingType of the new segment is EditingType.Corner , this argument specifies the vertical distance, measured in pixels, from the upper-left corner of the document to the end point of the new segment.
If the editingType of the new segment is EditingType.Auto , don't specify a value for this argument.