FMX.Effects.Blur

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

procedure Blur(const Canvas: TCanvas; const Bitmap: TBitmap; const Radius: Integer; UseAlpha: Boolean = True);

C++

extern DELPHI_PACKAGE void __fastcall Blur(Fmx::Graphics::TCanvas* const Canvas, Fmx::Graphics::TBitmap* const Bitmap, const int Radius, bool UseAlpha = true);

Properties

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

Description

Blur is used to create the blur used in some effects in this unit.

The Canvas parameter specifies the drawing space for the effect and the Visual parameter specifies the TBitmap instance onto which the effect is drawn. The Radius parameter represents the amount of blur and is usually given by the Softness property of the effects that use it. Blur is called by ProcessEffect descendants; you do not need to call this explicitly.

See Also