CubicBezierSegment
Class

Assembly LiveChartsCore
Namespace LiveChartsCore.Drawing.Segments

Summary:
Defines a cubic bezier segment, that is part of a sequence.

Inheritance:
Object =>
Animatable =>
Segment =>
CubicBezierSegment

Constructors

// Initializes a new instance of the CubicBezierSegment class.

Properties

Xm
Gets or sets the middle point in the Y axis.
Type: Single
Ym
Gets or sets the middle point in the Y axis.
Type: Single
Id
Gets or sets the segment id, a unique and consecutive integer.
Type: Int32
Xi
Gets the start point in the X axis.
Type: Single
Yi
Gets the start point in the X 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
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 the current time, this property is used by the motion engine to calculate the progress of the animations.
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
Gets the motion properties.
Type: Dictionary<String, IMotionProperty>

Methods

// Follows the specified segment.
Segment segment//
)
// Sets the transition for the specified properties.
Animation animation, // The animation.
String[] propertyName// The property name, null to select all properties.
)
// 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.
)