Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSVclCommon > RSGraphics > Classes > TRSPathData > Methods

TRSPathData.CurveTo(TRSPoint,TRSPoint,TRSPoint) Method

Scroll Prev Top Next More

Appends a curve to the current TRSPathData.

The curve is defined by 4 points:

A start point--the last point of the TPathData.

Two control points, specified by the ControlPoint1 and ControlPoint2 parameters.

An end point, specified by the EndPoint parameter.

CurveTo adds the control points and the end point of the curve to the Points array. The added points are of type ppCurveTo.

To move the start point of the curve, call the    MoveTo or    MoveToRel method before calling CurveTo.

To find the end point of the TRSPathData, call the    LastPoint method.

Namespace: RSGraphics

Parameters

ControlPoint1

Type: System.Void

ControlPoint2

Type: System.Void

EndPoint

Type: System.Void

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb