ScrollView.AddZoomVelocity Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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<float2>
The center point of the zoom factor change.
- inertiaDecayRate
-
IReference<float>
The decay rate of the inertia.
Returns
Int32
int
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for