Click or drag to resize

BaseZoomPanelAnimatorCalculateViewboxAndRotationAngle Method

Calculates the new Viewbox and RotationAngle values from the properties.

Namespace:  Ab2d.Animations
Assembly:  Ab2d.Controls.ZoomPanel (in Ab2d.Controls.ZoomPanel.dll) Version: 5.2.6631.1040
Syntax
C#
public virtual void CalculateViewboxAndRotationAngle(
	Rect startViewbox,
	Rect endViewbox,
	double startRotationAngle,
	double endRotationAngle,
	double progress,
	out Rect newViewbox,
	out double newRotationAngle
)

Parameters

startViewbox
Type: System.WindowsRect
animation start Viewbox value as Rect
endViewbox
Type: System.WindowsRect
animation end Viewbox value as Rect
startRotationAngle
Type: SystemDouble
animation start RotationAngle
endRotationAngle
Type: SystemDouble
animation end RotationAngle
progress
Type: SystemDouble
progress of animation from 0 to 1
newViewbox
Type: System.WindowsRect
new Viewbox value
newRotationAngle
Type: SystemDouble
new RotationAngle value
See Also