Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSVML > RSGdiPlusGraphics > Classes > TRSGPPath > Methods

TRSGPPath.CurveTo(TPointF,TPointF,TPointF) Method

Scroll Prev Top Next More

Appends a curve to the current path.

The curve is defined by 4 points:

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

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

An end point, specified by the EndPoint parameter.

CurveTo adds ControlPoint1, ControlPoint2, and EndPoint to the  Points array. The added point is of type CurveTo. To move the start point of the line, call  MoveTo or  MoveToRel before calling CurveTo.

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

Namespace: RSGdiPlusGraphics

Parameters

ControlPoint1

Type: TPointF

ControlPoint2

Type: TPointF

EndPoint

Type: TPointF

Return Value

Type: TRSGPPath

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb