FMX.Graphics.TBitmap.ClearRect

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure ClearRect(const ARect: TRectF; const AColor: TAlphaColor = 0);

C++

void __fastcall ClearRect(const System::Types::TRectF &ARect, const System::Uitypes::TAlphaColor AColor = (System::Uitypes::TAlphaColor)(0x0));

Properties

Type Visibility Source Unit Parent
procedure
function
public
FMX.Graphics.pas
FMX.Graphics.hpp
FMX.Graphics TBitmap

Description

Clears a rectangular area from a TBitmap image and fills it with a specified color.

The ARect parameter specifies the rectangular area to be cleared.

The AColor parameter specifies the color to fill the ARect area with. This parameter is optional. If it is not specified, the ARect area is made transparent. By default, AColor is 0.

See Also

Code Examples