IDrawnElement
Interface

Assembly LiveChartsCore
Namespace LiveChartsCore.Drawing

Summary:
Defines a drawable object, an object that can be represented in the user interface.

Derived:
IDrawnElement<TDrawingContext>
BaseContainer<TShape, TDrawingContext>
CoreAbsoluteLayout<TDrawingContext>
CoreStackLayout<TDrawingContext>
CoreTableLayout<TDrawingContext>
Layout<TDrawingContext>
Container<TShape>

Properties

Gets the parent shape, if any, the X and Y coordinates will be relative to the parent.
Type: IDrawnElement
X
Gets or sets the x coordinate, if the parent is not null the x coordinate will be relative to the parent.
Type: Single
Y
Gets or sets the y coordinate, if the parent is not null the y coordinate will be relative to the parent.
Type: Single
Gets or sets the opacity.
Type: Single
Gets or sets the transform origin.
Type: LvcPoint
Gets or sets the translate transform.
Type: LvcPoint
Gets or sets the rotation transform in degrees.
Type: Single
Gets or sets the scale transform.
Type: LvcPoint
Gets or sets the skew transform.
Type: LvcPoint
Gets or sets the drop shadow.
Type: LvcDropShadow
Gets or sets the clipping bounds.
Type: LvcRectangle
Gets a value indicating whether the instance has transform.
Type: Boolean
Gets a value indicating whether the instance has translation.
Type: Boolean
Gets a value indicating whether the instance has translation.
Type: Boolean
Gets a value indicating whether the instance has skew.
Type: Boolean
Gets a value indicating whether the instance has rotation.
Type: Boolean
Gets or sets the stroke.
Type: Paint
Gets or sets the fill.
Type: Paint
Gets or sets the paint, this property is different from Fill and Stroke because it does not set a PaintStyle, it is normally used to draw labels.
Type: Paint
Gets or sets the Stroke thickness.
Type: Single
Gets a value indicating whether the instance is valid.
Type: Boolean
Gets or sets a value indicating whether the instance should be removed from the canvas when all the animations are completed.
Type: Boolean

Methods

// Sets the transition for the specified properties.
Animation animation, // The animation.
PropertyDefinition[] properties// The properties, null to select all properties.
)
// Removes the transition for the specified properties.
PropertyDefinition[] properties// The properties to remove, null to select all properties.
)
// Completes the transition for the specified properties.
PropertyDefinition[] properties// The properties to complete, null to select all properties.
)
// Measures the instance.
// Disposes the paints holded by the instance.