When xe2 was opened, we found over 60 effects in the effects Group of the tool palette window...
Each special effect corresponds to a class from FMX. Effects and FMX. Filter. effects.
The special effects in FMX. effects belong to additional effects. The special effects in FMX. Filter. effects are just some filter effects. They are all quick applications of filters.
Each special effect has different parameters. Because it inherits teffect from FMX. types directly or indirectly, it also has functions such as trigger, enabled, and getdisablepaint.
Test: place a tpanel on the form.
{Set shadow effects for Panel1} procedure tform1.formcreate (Sender: tobject); begin with tshadoweffect. create (Self) Do begin parent: = Panel1; // The effect is also applied to the parent Object Distance: = 3.0; // The distance from direction: = 45.0; // The angle softness: = 0.3; // softening degree opacity: = 0.6; // transparency shadowcolor: = clablack; // shadow trigger: = 'ismouseover = true'; // specifies the effect-enabled event, inherited from its parent class teffect, which is not very useful now (or may not be used) end;