DrawnTask
Class

Assembly LiveChartsCore
Namespace LiveChartsCore.Painting

Summary:
Defines a task that will draw a set of geometries.

Inheritance:
Object =>
Animatable =>
Paint =>
DrawnTask

Constructors

// Initializes a new instance of the DrawnTask class.
CoreMotionCanvas canvas, // The canvas.
IDrawnElement[] drawables// The drawables.
)

Properties

Gets or sets the index of the z.
Type: Double
Obsolete.
Type: Boolean
Gets or sets a value indicating whether this instance is antialias.
Type: Boolean
Gets or sets a value indicating whether this instance is paused.
Type: Boolean
Gets or sets the stroke thickness.
Type: Single
Gets or sets the stroke miter.
Type: Single
Gets a value indicating whether this instance is empty.
Type: Boolean
Gets or sets a value indicating whether this instance is valid, the instance is valid when all the motion properties in the object finished their animations.
Type: Boolean
Gets or sets a value indicating whether this instance should be removed from the canvas when all the animations are completed.
Type: Boolean

Methods

// Clones the task.
// Sets the geometries for the given canvas.
CoreMotionCanvas canvas, // The canvas.
HashSet<IDrawnElement> geometries// The geometries.
)
// Adds a geometry to the paint task for the given canvas.
CoreMotionCanvas canvas, // The canvas.
IDrawnElement geometry// The geometry.
)
// Removes the given geometry from paint task.
CoreMotionCanvas canvas, // The canvas.
IDrawnElement geometry// The geometry.
)
// Removes all geometry from paint task.
CoreMotionCanvas canvas// The canvas.
)
// Sets the transition for the specified properties.
Animation animation, // The animation.
PropertyDefinition[] properties// The properties to animate, when no properties, all properties are selected.
)
// Removes the transition for the specified properties.
PropertyDefinition[] properties// The properties to remove, when no properties, all properties are selected.
)
// Completes the transition for the specified properties.
PropertyDefinition[] properties// The properties to complete, when no properties, all properties are selected.
)
// Gets the property definition by name.
String propertyName// The name of the property.
)