ScrollPresenter.AddZoomVelocity Method

Definition

Asynchronously adds velocity to a zoom action.

public:
 virtual int AddZoomVelocity(float zoomFactorVelocity, IReference<float2> ^ centerPoint, IReference<float> ^ inertiaDecayRate) = AddZoomVelocity;
int AddZoomVelocity(float const& zoomFactorVelocity, IReference<float2> const& centerPoint, IReference<float> const& inertiaDecayRate);
public int AddZoomVelocity(float zoomFactorVelocity, System.Nullable<Vector2> centerPoint, System.Nullable<float> inertiaDecayRate);
function addZoomVelocity(zoomFactorVelocity, centerPoint, inertiaDecayRate)
Public Function AddZoomVelocity (zoomFactorVelocity As Single, centerPoint As Nullable(Of Vector2), inertiaDecayRate As Nullable(Of Single)) As Integer

Parameters

zoomFactorVelocity
Single

float

The rate of the zoom factor change.

centerPoint

IReference<Vector2>

Nullable<Vector2>

IReference<float2>

The center point of the zoom factor change.

inertiaDecayRate

IReference<Single>

Nullable<Single>

IReference<float>

The decay rate of the inertia.

Returns

Int32

int

A correlation ID number used to associate this method call with corresponding events.

Applies to