Pie2DFlyInAnimation.CalculateAnimatedPieCenter(Point, Double, Double, Rect, Double) Method

Calculates the final position of a Pie series' center after its Fly-In animation has finished.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v20.1.dll

Declaration

public override Point CalculateAnimatedPieCenter(
    Point pieCenter,
    double radius,
    double angle,
    Rect viewport,
    double progress
)
Public Overrides Function CalculateAnimatedPieCenter(
    pieCenter As Point,
    radius As Double,
    angle As Double,
    viewport As Rect,
    progress As Double
) As Point

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.

See Also