FMX.Effects.TBevelEffect

From RAD Studio API Documentation
Jump to: navigation, search

FMX.Effects.TEffectFMX.Types.TFmxObjectSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTBevelEffect

Delphi

TBevelEffect = class(TEffect)

C++

class PASCALIMPLEMENTATION TBevelEffect : public TEffect

Properties

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

Description

TBevelEffect is a class for creating an effect that adds the illusion of depth to a visible object.

Visible objects that have a TBevelEffect effect applied have shapes that look like real beveled edges of a wooden, metallic, or plastic item.

TBevelEffect is an implementation of TEffect. For further information, see TEffect and FireMonkey Image Effects.

Beside properties provided by this implementation of TEffect, TBevelEffect provides two specific properties: Direction and Size.

For example, the following table shows the result of TBevelEffect on a .png picture (with transparent background) placed on a form (using a TImage object) and on a TRectangle object. For both objects, Direction is set to 45 and Size, to 10.

Original TBevelEffect

FireMonkey logo NoEffects.PNG

FireMonkey logo TBevelEffect.PNG

Rectangle1 FMX NoEffect.PNG

Rectangle1 FMX TBevelEffect.PNG

See Also

Code Examples