CarouselEllipsePath
Represents a custom made ellipse path which will be used to specify the path travelled by carousel items when animated
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class CarouselEllipsePath : CarouselParameterPath, ICarouselPath, INotifyPropertyChanged
Inheritance: objectCarouselParameterPathCarouselEllipsePath
Implements:
Inherited Members
Constructors
public CarouselEllipsePath()
Properties
Gets or sets the origin from which the two path axis vectors are evaluated.
public Point3D Center { get; set; }
Gets or sets the angle in degrees used to calculate FinalPathPoint. Parameterized evaluation currently sweeps a full turn from InitialAngle regardless of this value.
public double FinalAngle { get; set; }
Gets the point on the ellipse at FinalAngle.
public override object FinalPathPoint { get; }
Overrides:
Gets or sets the angle where itms new items will first appear in the carousel view.
public double InitialAngle { get; set; }
Gets the point on the ellipse at InitialAngle.
public override object InitialPathPoint { get; }
Overrides:
Gets or sets the first axis vector; its direction sets the axis orientation and its magnitude sets the corresponding radius.
public Point3D U { get; set; }
A zero vector produces non-finite evaluated coordinates.
Methods
Evaluates the ellipse at a full-turn parameter measured from InitialAngle; this implementation does not use FinalAngle.
public override object EvaluateByParameter(VisualElement element, CarouselPathAnimationData data, double value)
The carousel element associated with the evaluation; it is not used by this calculation.
dataCarouselPathAnimationDataThe animation data associated with the evaluation; it is not used by this calculation.
valuedoubleThe fraction of a full turn to advance from the initial angle.
Returns:The evaluated point; values outside zero to one continue around the ellipse.
Overrides:
Recalculates Z-index mapping for changed axis or path settings before forwarding the property-change event.
protected override void OnPropertyChanged(PropertyChangedEventArgs e)
The changed-property details.
Overrides: