LineSegment
Class

Assembly LiveChartsCore
Namespace LiveChartsCore.Drawing.Segments

Summary:
Defines a line segment.

Inheritance:
Object =>
Animatable =>
LineSegment
Implements:

Constructors

// Initializes a new insance of the LineSegment class.

Properties

Xi
Gets the start point in the X axis.
Type: Single
Yi
Gets the start point in the Y axis.
Type: Single
Xj
Gets the end point in the X axis.
Type: Single
Yj
Gets the end point in the Y axis.
Type: Single
Id
Gets or sets the segment id, a unique and consecutive integer.
Type: Int32
Gets or sets a value indicating whether this instance is completed.
Type: Boolean
Gets or sets the current time.
Type: Int64
Gets or sets a value indicating whether the element is removed when all the transitions complete.
Type: Boolean
Gets the motion properties.
Type: Dictionary<String, IMotionProperty>

Methods

// Sets a property transition for the specified property or properties.
Animation animation, // The animation.
String[] propertyName// Name of the property, use null to set all the animatable properties.
)
// Removes a property or properties transitions.
String[] propertyName// Name of the property, null to remove them all.
)
// Completes the property or properties transitions.
String[] propertyName// Name of the property, null to select them all.
)