Show/Hide Toolbars

RiverSoftAVG Products Help

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

TRSGPPath.MoveToRel(TPointF) Method

Scroll Prev Top Next More

Appends a specified TpointF to the current path.

MoveToRel customizes the start point for new elements to be added to the current path.

The P parameter's coordinates specify the distances to the end point of the current path, on each axis. MoveToRel adds a new point to the Points array. Its coordinates are equal to the sum between the coordinates of the last point and the coordinates of P. The added point is of type MoveTo.
 
The added point is the new start point of the element to be added to the path. When a path is drawn on a canvas, a MoveTo point and the previous point are not visibly connected (no line is drawn between them).

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

Namespace: RSGdiPlusGraphics

Parameters

P

Type: TPointF

Return Value

Type: TRSGPPath

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb