FMX.Effects.TBevelEffect.Direction
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 |
||
90 |
||
-90 |