FMX.Filter.Effects.TFilterEmboss

From RAD Studio API Documentation
Jump to: navigation, search

FMX.Filter.Effects.TFilterBaseFilterFMX.Types.TFmxObjectSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTFilterEmboss

Delphi

TFilterEmboss = class(TFilterBaseFilter)

C++

class PASCALIMPLEMENTATION TFilterEmboss : public TFilterBaseFilter

Properties

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

Description

TFilterEmboss is a wrapper for TEmbossEffect.

FMX.Filter.Effects.TFilterEmboss inherits from FMX.Filter.Effects.TEmbossEffect. All content below this line refers to FMX.Filter.Effects.TEmbossEffect.

TEmbossEffect is a class for creating an effect that embosses the texture of visible objects.

For further information, go to TImageFXEffect and FireMonkey Image Effects.

TEmbossEffect finds the contrast lines and adds shadows to them in order to depress or rise the image relative to its background. The embossing amplitude and width can be set through the Amount and Width properties.

The following table shows the result of the TEmbossEffect effect on a .png picture, with transparent background, placed on a form (using a TImage object). The default values (Amount=0.5, Width=10 25) are used for embossing properties.

No effect (original picture) Result

FireMonkey logo NoEffects.PNG

FireMonkey logo TEmbossEffect.PNG

See Also

Code Examples