MotionCanvas<TDrawingContext>
Class
Assembly LiveChartsCore
Namespace LiveChartsCore.Motion
Summary:
Defines a canvas that is able to animate the shapes inside it.
TDrawingContext | The type of the drawing context. |
Object
=>
MotionCanvas<TDrawingContext>
Constructors
// Initializes a new instance of the MotionCanvas`1 class.
Properties
Gets the animatables collection.
Type: HashSet<IAnimatable>
Type: HashSet<IAnimatable>
Gets the drawables count.
Type: Int32
Type: Int32
Events
Occurs when the visual is invalidated.
Handler definition: Action<MotionCanvas<TDrawingContext>>
Handler definition: Action<MotionCanvas<TDrawingContext>>
Occurs when all the visuals in the canvas are valid.
Handler definition: Action<MotionCanvas<TDrawingContext>>
Handler definition: Action<MotionCanvas<TDrawingContext>>
Methods
// Invalidates this instance.
// Clears the canvas and tasks.
// Counts the geometries.
// Releases the resources.