Effect base & helper classes
The Effect is the base class that modify an AnimatedProperty. Animation is Effect’s most important subclass.
Each Effect can be applied to one or more properties on one or more objects. The value of these properties is then provided by the Effect’s value property.
Object that changes an AnimatedProperty
Effects should have a value attribute that provides a value for the property.
Return an equivalent effect
When it’s sure that the effect’s value won’t change any more, this method can return a ConstantEffect to free resources.
Apply this effect to an instance‘s AnimatedProperty
An Effect that provides a constant value