FMX.Effects.TBevelEffect.Direction

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Direction: Single read FDirection write SetDirection;

C++

__property float Direction = {read=FDirection, write=SetDirection};

Properties

Type Visibility Source Unit Parent
property published
FMX.Effects.pas
FMX.Effects.hpp
FMX.Effects TBevelEffect

Description

Specifies the direction (in degrees) of the light that falls on the visual component that has TBevelEffect applied.

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 (using three different values for the Direction property). The FMX.Effects.TBevelEffect.Size property was set to 10.

Direction value .png picture Rectangle instance

45

FireMonkey logo TBevelEffect.PNG

Rectangle1 FMX TBevelEffect.PNG

90

FireMonkey logo TBevelEffect Direction 90.PNG

Rectangle1 logo TBevelEffect Direction 90.png

-90

FireMonkey logo TBevelEffect Direction -90.png

Rectangle1 logo TBevelEffect Direction -90.png

See Also