Segment
Class

Assembly LiveChartsCore
Namespace LiveChartsCore.Drawing.Segments

Summary:
Defines a path segment that is part of a sequence.

Inheritance:
Object =>
Animatable =>
Segment
Derived:

Properties

Id
Gets or sets the segment id, a unique and consecutive integer.
Type: Int32
Xi
The Xi motion property.
Type: Single
Yi
The Yi motion property.
Type: Single
Xj
The Xj motion property.
Type: Single
Yj
The Yj motion property.
Type: Single
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

Public static fields

The Xi property definition.
Type: PropertyDefinition
The Yi property definition.
Type: PropertyDefinition
The Xj property definition.
Type: PropertyDefinition
The Yj property definition.
Type: PropertyDefinition

Methods

// 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.
)