API Documentation > CorelDRAW > 2025-v26
IVGCurve interface
The main interface for Curve class
Syntax:
Interface IVGCurve
Properties:
Name Description
Area Returns the area of a closed curve
BoundingBox Returns the bounding rectangle around the curve
Closed Gets or sets whether the curve is closed
IsClockwise Returns True if the curve direction is predominantly clockwise
Length Gets the length of the curve
Nodes Gets the collection of nodes within the curve
Segments Gets the collection of segments within the curve
SubPaths Gets the collection of subpaths within the curve
Methods:
Name Description
AppendCurve Appends subpaths from a source curve to the current one
AppendSubpathCircle Appends a circular subpath to the curve
AppendSubpathEllipse Appends an elliptical subpath to the curve
AppendSubpathFitToPoints Adds a subpath fit to points
AppendSubpathFitToPointsAndCusps Adds a subpath fit to points and cusps indices
AppendSubpathFromPoints Appends a subpath from a Points array
AppendSubpathRectangle Appends a rectangular subpath to the curve
AppendSubpathThreePointArc Appends a 3-point curve subpath to the curve
ApplyTransformMatrix Apply a transformation to the curve
AutoReduceNodes Reduces the number of nodes if possible
BindToDocument Binds a free curve to a document
ClearSelection Clears node selection in the given curve
Contour Returns a curve which is contour curve to the current one
CopyAssign Copies curve information to change the current curve
CreateCurveMappedToStroke Creates a copy of this curve mapped to a stroke
CreateCurveMappedToStrokeAndReferenceLine Creates a copy of this curve mapped to a stroke and reference line
CreateSubPath Adds (or replaces) an empty subpath at the end of the curve
CreateSubPathFromArray Adds a new subpath based on the node information specified
FindClosestSegment Finds a segment closest to the specified point
FindNodeAtPoint Finds a node along the path at the specified point
FindSegmentAtPoint Finds a segment along the path at the specified point
GetBoundingBox Gets the bounding rectangle around the curve
GetCopy Returns a copy of curve information as a free curve
GetCurveInfo Retrieves low-level curve information
GetPolyline Returns curve consisting of line segments approximating the current subpath
IntersectsWith Returns True if the two curves intersect
IsOnCurve Checks if a point is on curve
IsPointInside Determines if the specified point lies inside a closed path
IsRectOnEdge Determines if the specified rectangle intersects the path
JoinTouchingSubpaths Joins all subpaths whose endpoints touch
PutCurveInfo Replaces the current curve with node information provided
RemoveOverlaps Returns a copy of the curve with overlapping paths divided into separate subpaths
ReverseDirection Reverses the node order within the curve
Selection Creates a range containing all the selected nodes on this curve
SelfWeldClosedSubpaths Self welds closed subpaths
WeldEx Welds two curves together using the specified welding method and returns the resulting curve. Flags parameter can be specified using the cdrWeldFlags enumeration.
WeldWith Welds two curves together and returns the resulting curve