FMX.Effects.TEffect.ProcessEffect
Delphi
procedure ProcessEffect(const Canvas: TCanvas; const Visual: TBitmap; const Data: Single); virtual;
C++
virtual void __fastcall ProcessEffect(Fmx::Graphics::TCanvas* const Canvas, Fmx::Graphics::TBitmap* const Visual, const float Data);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | FMX.Effects.pas FMX.Effects.hpp |
FMX.Effects | TEffect |
Description
ProcessEffect is a blank method.
Subclasses of TEffect override this method to process the effect.
The Canvas
parameter represents the drawing space for the effect and the Visual
parameter represents the TBitmap instance onto which the effect is drawn. The Data
parameter is used only when hardware acceleration is not possible for computing offset points (for example, when a FMX.Effects.TShadowEffect is processed). ProcessEffect is called by ApplyEffect; you do not need to call it explicitly.