Description

Adds a Bézier curve subpath to the current path.

Syntax

Public Sub AddCurve( _
   ByVal X As Single, _
   ByVal Y As Single, _
   ByVal SourceControlPointX As Single, _
   ByVal SourceControlPointY As Single, _
   ByVal DestinationControlPointX As Single, _
   ByVal DestinationControlPointY As Single _
) 

Parameters

X

X Coordinate of the destination.

Y

Y Coordinate of the destination.

SourceControlPointX

X Coordinate of the sources control point.

SourceControlPointY

Y Coordinate of the sources control point.

DestinationControlPointX

X Coordinate of the destinations control point.

DestinationControlPointY

Y Coordinate of the destinations control point.

Remarks

This Path, when added to a Path, is used to create a Bézier curve to the CurveSubPath's specified location using the source and destination control points.

See Also

Path Object