Draws a path and displays it on the current canvas.
DrawPath draws a shape specified by a TRSGPPath, with the specified pen.
If APath is empty, DrawPath does nothing. In this case, it does not raise any errors.
Note
|
Before calling DrawPath, make sure that APath is created.
|
Namespace: RSGdiPlusGraphics
Delphi
|
public
procedure DrawPath(const APath: TRSGPPath; const AOpacity: Single; const ABrush: TRSGPPen); overload;
|
Parameters
APath
Type: TRSGPPath
Specifies the TRSGPPath to be drawn.
AOpacity
Type: Single
Specifies the transparency of the Fill color.
ABrush
Type: TRSGPPen
Specifies the pen to draw the path with.
Reference
•RSGdiPlusGraphics.TRSGPCanvas.DrawArc(TPointF,TPointF,Single,Single,Single,TRSGPPen) •RSGdiPlusGraphics.TRSGPCanvas.DrawEllipse(TRectF,Single,TRSGPPen) •RSGdiPlusGraphics.TRSGPCanvas.DrawLine(TPointF,TPointF,Single,TRSGPPen) •RSGdiPlusGraphics.TRSGPCanvas.DrawPath(TRSGPPath,Single,TRSGPPen) •DrawPolygon •RSGdiPlusGraphics.TRSGPCanvas.FillPath(TRSGPPath,Single,TRSGPBrush) •RSGdiPlusGraphics.TRSGPCanvas.DrawRectSides(TRectF,Single,Single,TRSCorners,Single,TRSSides,TRSGPPen,TRSCornerType) •RSGdiPlusGraphics.TRSGPCanvas.Stroke •RSGdiPlusGraphics.TRSGPCanvas.Pen •RSGdiPlusGraphics.TRSGPPath •TRSGPCanvas •RSGdiPlusGraphics |