Fills the specified rectangle on the canvas using the current brush.
Use FillRect to fill a rectangular region using the current Brush. The region is filled including the top and left sides of the rectangle, but excluding the bottom and right edges.
Tip |
---|
This FMX version of the method adds a default Opacity parameter at the end of the parameters. This allows you to take advantage of the FMX ability to draw transparently to the canvas. Alternatively, don't set this parameter and it works exactly like the VCL TCanvas method. |
Namespace: FMX.RS.CanvasHelper
Delphi |
public |
Parameters
Rect
Type: TRect
Opacity
Type: Single
Reference |