FMX.Filter.Effects.TFilterCircleTransition

From RAD Studio API Documentation
Jump to: navigation, search

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

Delphi

TFilterCircleTransition = class(TFilterBaseFilter)

C++

class PASCALIMPLEMENTATION TFilterCircleTransition : 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

TFilterCircleTransition is a wrapper for TCircleTransitionEffect.

FMX.Filter.Effects.TFilterCircleTransition inherits from FMX.Filter.Effects.TCircleTransitionEffect. All content below this line refers to FMX.Filter.Effects.TCircleTransitionEffect.

TCircleTransitionEffect is a class for creating an effect that applies a transition between the texture of visible objects and another texture, using a circle mask.

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

The transition is made between the texture of object to which the effect is applied and the bitmap specified by the Target property. If Target is not specified, TCircleTransitionEffect has no visual effect. TCircleTransitionEffect blinds the object's texture in a circular area. The circular's area size is specified by the CircleSize property and its center is specified by Center. The circular's area is correlated to the object size and influenced by the Progress property. If the object has a rectangular shape, the blinded area is an ellipse. The circle fuzziness can be changed through the FuzzyAmount property.

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

The following table shows the result of the TCircleTransitionEffect effect on a .png picture, with transparent background, placed on a form (using a TImage object). The Center of the circular area is set in the middle of the image. Default values are used for the FuzzyAmount, CircleSize, and Progress properties (FuzzyAmount=0.1, CircleSize=1 and Progress=30%).

No effect (original picture) Target Result

FireMonkey logo NoEffects.PNG

Filter Effecs texture.PNG

FireMonkey logo TCircleTransitionEffect with texture.PNG

See Also

Code Examples