CoreMotionCanvas
Class

Assembly LiveChartsCore
Namespace LiveChartsCore.Motion

Summary:
Defines a canvas that is able to animate the shapes inside it.

Inheritance:
Object =>
CoreMotionCanvas

Constructors

// Initializes a new instance of the CoreMotionCanvas class.

Properties

Returns true if the visual is valid.
Type: Boolean
Gets the synchronize object.
Type: Object
Gets the animatables collection.
Type: HashSet<Animatable>
Gets the drawables count.
Type: Int32

Events

Occurs when the visual is invalidated.
Handler definition: Action<CoreMotionCanvas>
Occurs when all the visuals in the canvas are valid.
Handler definition: Action<CoreMotionCanvas>

Methods

// Draws the frame.
TDrawingContext context// The context.
)
// Invalidates this instance.
// Adds a drawable task.
Paint task// The task.
)
// Adds a geometry (or geometries) to the canvas.
IDrawnElement[] geometries// *summary not found*
)
// Sets the paint tasks.
HashSet<Paint> tasks// The tasks.
)
// Removes the paint task.
Paint task// The task.
)
// Clears the canvas and tasks.
// Counts the geometries.
// Releases the resources.