FMX.Effects.TReflectionEffect

From RAD Studio API Documentation
Jump to: navigation, search

FMX.Effects.TFilterEffectFMX.Effects.TEffectFMX.Types.TFmxObjectSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTReflectionEffect

Delphi

TReflectionEffect = class(TFilterEffect)

C++

class PASCALIMPLEMENTATION TReflectionEffect : public TFilterEffect

Properties

Type Visibility Source Unit Parent
class public
FMX.Effects.pas
FMX.Effects.hpp
FMX.Effects FMX.Effects

Description

TReflectionEffect is a class for creating a reflection effect below a visible object.

TReflectionEffect is an implementation of TEffect. For further information, go to TEffect and FireMonkey Image Effects.

Beside the properties provided by TEffect, TReflectionEffect provides three specific properties: Length, Offset, and Opacity.

For example, the following table shows the result of TReflectionEffect on a .png picture (with transparent background) placed on a form (using a TImage object) and on a TRectangle object. For both objects, Length is set to 0,6, Offset, to 0, and Opacity, to 0,5.


Original TReflectionEffect

FireMonkey logo NoEffects.PNG

FireMonkey logo TReflectionEffect.PNG

Rectangle1 FMX NoEffect.PNG

Rectangle1 FMX TReflectionEffect.PNG

See Also

Code Examples