Modifica

Condividi tramite


Track.ValueFromDistance(Double, Double) Method

Definition

Calculates the change in the Value of the Track when the Thumb moves.

public:
 virtual double ValueFromDistance(double horizontal, double vertical);
public virtual double ValueFromDistance (double horizontal, double vertical);
abstract member ValueFromDistance : double * double -> double
override this.ValueFromDistance : double * double -> double
Public Overridable Function ValueFromDistance (horizontal As Double, vertical As Double) As Double

Parameters

horizontal
Double

The horizontal displacement of the Thumb.

vertical
Double

The vertical displacement of the Thumb.

Returns

The change in Value that corresponds to the displacement of the Thumb of the Track.

Applies to