Animations on FireMonkey are awesome. Since they are easy to implement, they are perfectly adaptable to the movement style of Material Design.
The following table provides some examples of animations in FireMonkey:
Type of property | Animation Class |
---|---|
Any property that is an integer. | TIntAnimation |
Any property that is a real number. | TFloatAnimation |
Location of the component defined by a TBounds property. | TRectAnimation |
Any string or integer property that contains a color. | TColorAnimation |
A gradient (type TGradient). | TGradientAnimation |
A bitmap picture. | TBitmapAnimation |
An example of an animation of Material Design is the card. How about we include a card that expands and collapses when requested by the user? For this type of animation, we will work with layouts and rectangles, in addition to a very cool shadow effect.
Let's put the...