FMX.Filter.Effects.TFilterCrumpleTransition

From RAD Studio API Documentation
Jump to: navigation, search

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

Delphi

TFilterCrumpleTransition = class(TFilterBaseFilter)

C++

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

TFilterCrumpleTransition is a wrapper for TCrumpleTransitionEffect.

FMX.Filter.Effects.TFilterCrumpleTransition inherits from FMX.Filter.Effects.TCrumpleTransitionEffect. All content below this line refers to FMX.Filter.Effects.TCrumpleTransitionEffect.

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

For further information, go to 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, TCrumpleTransitionEffect also uses the texture of the object to which the effect is applied as the second texture of the transition. The applied distortions can be changed through the RandomSeed 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 TCrumpleTransitionEffect effect on two different images placed on a form (using a TImage object):

  • A .png image with transparent background
  • A .png image with no transparent areas

The two image are used as the first texture and as Target.

Default values are used for the Progress and RandomSeed properties (Progress=30%, RandomSeed=0).

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

FireMonkey logo NoEffects.PNG

FireMonkey logo TCrumpleTransitionEffect no texture1.PNG

FireMonkey logo TCrumpleTransitionEffect with texture1.PNG

Filter Effecs texture.PNG

FireMonkey logo TCrumpleTransitionEffect no texture2.PNG

FireMonkey logo TCrumpleTransitionEffect with texture2.PNG

See Also

Code Examples