DrawnTask
Class
Assembly LiveChartsCore
Namespace LiveChartsCore.Painting
Summary:
Defines a task that will draw a set of geometries.
Constructors
// Initializes a new instance of the DrawnTask class.
| CoreMotionCanvas canvas, | // The canvas. |
| IDrawnElement[] drawables | // The drawables. |
)
Properties
Gets or sets the font family.
Type: String
Type: String
Gets or sets a value indicating whether this instance is antialias.
Type: Boolean
Type: Boolean
Gets or sets the stroke thickness.
Type: Single
Type: Single
Gets or sets the stroke miter.
Type: Single
Type: Single
Gets or sets the current time, this property is used by the motion engine to calculate the progress of the animations.
Type: Int64
Type: Int64
Gets or sets a value indicating whether this instance should be removed from the canvas when all the animations are completed.
Type: Boolean
Type: Boolean
Gets the motion properties.
Type: Dictionary<String, IMotionProperty>
Type: Dictionary<String, IMotionProperty>
Methods
// Clones the task.
| DrawingContext context, | // *summary not found* |
| Single opacity | // *summary not found* |
)
// Clones the task.
// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
// 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. |
)
// Sets the clip rectangle for the given canvas.
| CoreMotionCanvas canvas, | // The canvas. |
| LvcRectangle value | // The rectangle. |
)
// Removes the transition for the specified properties.
| String[] propertyName | // The properties to remove, null to select all properties. |
)
// Completes the transition for the specified properties.
| String[] propertyName | // The property name, null to select all properties. |
)