Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSFMXCommon > FMX.RS.CanvasHelper > Classes > TFMXCanvasHelper > Methods

TFMXCanvasHelper.FillRect(TRect,Single) Method

Scroll Prev Top Next More

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.

alert_noteTip

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

Parameters

Rect

Type: TRect

Opacity

Type: Single

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb