Skip to main content

Funnel2DSlideFromTopAnimation.CalculateAnimatedBounds(Rect, Rect, Double) Method

Calculates the point bounds of a Funnel Series series after its SlideFromTop animation has finished.

Namespace: DevExpress.Xpf.Charts

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

NuGet Package: DevExpress.Wpf.Charts

Declaration

public override Rect CalculateAnimatedBounds(
    Rect pointBounds,
    Rect viewport,
    double progress
)

Parameters

Name Type Description
pointBounds Rect

A Rect structure, specifying the initial position of Funnel Series series point bounds.

viewport Rect

A Rect structure, specifying the drawing area of the Funnel.

progress Double

A Double value, specifying the progress position of the animation.

Returns

Type Description
Rect

A Rect structure, specifying the final position of Funnel Series series point bounds.

Remarks

Use the CalculateAnimatedBounds method, to obtain the final position of a Funnel point bounds when creating a custom animation.

See Also