Pie2DSeriesPointAnimationBase.CalculateAnimatedPieCenter(Point, Double, Double, Rect, Double) Method
Calculates the final position of a Pie series’ center after its point animation has finished.
Namespace: DevExpress.Xpf.Charts
Assembly: DevExpress.Xpf.Charts.v24.1.dll
NuGet Package: DevExpress.Wpf.Charts
Declaration
public virtual Point CalculateAnimatedPieCenter(
Point pieCenter,
double radius,
double angle,
Rect viewport,
double progress
)
Parameters
Name | Type | Description |
---|---|---|
pieCenter | Point | A Point structure, specifying the initial coordinates of the Pie’s center. |
radius | Double | A Double value, specifying the initial radius of the Pie. |
angle | Double | A Double value, specifying the initial angle at which the Pie is rotated. |
viewport | Rect | A Rect structure, specifying the drawing area of the Pie (including its point labels). |
progress | Double | A Double value, specifying the progress position of the animation. |
Returns
Type | Description |
---|---|
Point | A Point structure, specifying the final coordinates of the Pie’s center. |
Remarks
Use the CalculateAnimatedPieCenter method, to obtain the final position of a Pie’s center, when creating a custom animation.