Draws a path and displays it on the current canvas.
DrawPath draws a shape specified by a TRSPathData, 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: TRSPathData; const AOpacity: Single; const ABrush: TRSGPPen); overload;
|
Parameters
APath
Type: TRSPathData
Specifies the TRSPathData to be drawn.
AOpacity
Type: Single
Specifies the transparency of the Fill color.
ABrush
Type: TRSGPPen
Specifies the pen to draw the path with
TRSPathData is a TPathData descendant with some extra features and bug fixes
|
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 |