Back to Devexpress

Funnel2DSeriesPointAnimationBase.CalculateAnimatedBounds(Rect, Rect, Double) Method

wpf-devexpress-dot-xpf-dot-charts-dot-funnel2dseriespointanimationbase-dot-calculateanimatedbounds-x28-system-dot-windows-dot-rect-system-dot-windows-dot-rect-system-dot-double-x29.md

latest2.8 KB
Original Source

Funnel2DSeriesPointAnimationBase.CalculateAnimatedBounds(Rect, Rect, Double) Method

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

Namespace : DevExpress.Xpf.Charts

Assembly : DevExpress.Xpf.Charts.v25.2.dll

NuGet Package : DevExpress.Wpf.Charts

Declaration

csharp
public virtual Rect CalculateAnimatedBounds(
    Rect pointBounds,
    Rect viewport,
    double progress
)
vb
Public Overridable Function CalculateAnimatedBounds(
    pointBounds As Rect,
    viewport As Rect,
    progress As Double
) As Rect

Parameters

NameTypeDescription
pointBoundsRect

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

TypeDescription
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

Funnel2DSeriesPointAnimationBase Class

Funnel2DSeriesPointAnimationBase Members

DevExpress.Xpf.Charts Namespace