Fills a path and displays it on the current canvas.
FillPath fills a shape specified by a TRSGPPath, with the current brush specified by the Fill property.
If APath is empty, FillPath does nothing. In this case, it does not raise any errors.
Note
|
Before calling FillPath, make sure that APath is created.
|
Namespace: RSGdiPlusGraphics
Delphi
|
public
procedure FillPath(const APath: TRSGPPath; const AOpacity: Single); overload;
|
Parameters
APath
Type: TRSGPPath
Specifies the TRSGPPath to be drawn.
AOpacity
Type: Single
Specifies the transparency of the Fill color.
Reference
•RSGdiPlusGraphics.TRSGPCanvas.Brush •RSGdiPlusGraphics.TRSGPCanvas.Fill •RSGdiPlusGraphics.TRSGPCanvas.DrawPath(TRSGPPath,Single,TRSGPPen) •RSGdiPlusGraphics.TRSGPCanvas.FillEllipse(TRectF,Single,TRSGPBrush) •RSGdiPlusGraphics.TRSGPCanvas.FillRect(TRectF,Single,Single,TRSGPCorners,Single,TRSGPBrush,TRSGPCornerType) •FillPolygon •RSGdiPlusGraphics.TRSGPCanvas.FillArc(TPointF,TPointF,Single,Single,Single,TRSGPBrush) •RSGdiPlusGraphics.TRSGPCanvas.FillText(TRectF,string,Single) •RSGdiPlusGraphics.TRSGPPath •TRSGPCanvas •RSGdiPlusGraphics |