FMX.Filter.Effects.THueAdjustEffect

From RAD Studio API Documentation
Jump to: navigation, search

FMX.Filter.Effects.TImageFXEffectFMX.Effects.TFilterEffectFMX.Effects.TEffectFMX.Types.TFmxObjectSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTHueAdjustEffect

Delphi

THueAdjustEffect = class(TImageFXEffect)

C++

class PASCALIMPLEMENTATION THueAdjustEffect : public TImageFXEffect

Properties

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

Description

THueAdjustEffect is a class for creating an effect that changes the overall hue of the source pixels.

THueAdjustEffect affects the textures of visual objects.

For further information, see TImageFXEffect and FireMonkey Image Effects.

To modify the hue, use the Hue property.

The following table shows the result of the THueAdjustEffect effect on a grayscale .png picture, with transparent background and a color .png picture, with transparent background, placed on a form (using a TImage object).

No effect (original pictures) Hue=-1; Hue=1;

FireMonkey logo NoEffects.PNG

FireMonkey logo THueAdjustEffect -1.PNG

FireMonkey logo THueAdjustEffect 1.PNG

See Also

Code Examples