From RAD Studio API Documentation
Jump to: navigation, search



TFilterBrightTransition = class(TFilterBaseFilter)


class PASCALIMPLEMENTATION TFilterBrightTransition : public TFilterBaseFilter


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


TFilterBrightTransition is a wrapper for TBrightTransitionEffect.

FMX.Filter.Effects.TFilterBrightTransition inherits from FMX.Filter.Effects.TBrightTransitionEffect. All content below this line refers to FMX.Filter.Effects.TBrightTransitionEffect.

TBrightTransitionEffect is a class for creating an effect that makes a transition between the texture of visible objects and another texture by brightening the two textures.

For further information, see TImageFXEffect and FireMonkey Image Effects.

The transition is made between the texture of the object to which the effect is applied and the bitmap specified by the Target property. If Target is not specified, TBrightTransitionEffect also uses the texture of the object to which the effect is applied as the second texture of the transition.

The transition progress between the two textures can be changed by using the Progress property.

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

The value used for the Progress property is higher than the default value, for a better visibility of the result (Progress=40%).

No effect (original picture) No Target specified With Target specified

FireMonkey logo NoEffects.PNG

FireMonkey logo TBrightTransitionEffect no texture.PNG

FireMonkey logo TBrightTransitionEffect texture.PNG

See Also

Code Examples