Fills a path and displays it on the current canvas.
FillPath fills a shape specified by a TRSPathData, 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 |
Parameters
APath
Type: TRSPathData
Specifies the TRSPathData to be drawn.
AOpacity
Type: Single
Specifies the transparency of the Fill color.
ABrush
Type: TRSGPBrush
Specifies the brush to fill the path with
TRSPathData is a TPathData descendant with some extra features and bug fixes |