Show: Delphi C++
Display Preferences

FMX.Effects.TReflectionEffect

From XE3 API Documentation
Jump to: navigation, search

FMX.Types.TEffectFMX.Types.TFmxObjectSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObject
TReflectionEffect

Delphi

TReflectionEffect = class(TEffect)

C++

class PASCALIMPLEMENTATION TReflectionEffect : public Fmx::Types::TEffect

Contents

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

Personal tools
Translations