API Documentation > CorelDRAW > 2025-v26
IVGNode interface
The main interface for Node class
Syntax:
Interface IVGNode
Properties:
Name Description
AbsoluteIndex Gets the index of the node within the curve
Application Gets the application to which the node belongs
Index Gets the index of the node within its subpath
IsEnding Gets whether the node is the first or last of its subpath
NextSegment Returns the next segment adjacent to the node
Parent Gets the node collection parent
PositionX Gets or sets the horizontal position (X) of the node on the page, according to the document's reference point
PositionY Gets or sets the vertical position (Y) of the node on the page, according to the document's reference point
PrevSegment Returns the previous segment adjacent to the node
Segment Returns the segment which the given node ends
Selected Returns True if the node is currently selected, or selects/deselects the node
SubPath Gets the subpath which holds this node
SubPathIndex Gets the index of the node's subpath within the curve
Type Gets or sets the node type
Methods:
Name Description
AveragePositionWith Moves the two nodes to the midpoint of their original positions
BreakApart Breaks this node into two unconnected nodes
Chamfer Creates a chamfer on the node
ConnectWith Connects this node with another one (if possible)
CreateSelection Deselects all the nodes in the curve and selects the given node
Delete Removes this node from the curve
ExtendSubPaths Extends two open subpaths until they meet
Fillet Creates a fillet on the cusp node
GetDistanceFrom Gets the distance from the given node to the current node
GetPoint Gets the position as a point
GetPosition Gets the horizontal and vertical position of the node on the page
JoinWith Joins this node with another one
Move Moves the node by a given delta
Next Gets the node following this one
Previous Gets the node preceding this one
Scallop Creates a scallop on the node
SetPoint Sets the position from a point
SetPosition Sets the horizontal and vertical position of the node on the page