Skip to main content

GetMinMaxFromDelta Method

Gets the minimum and maximum from the specified number and the difference with that number.

Definition

Namespace: Avalonia.Utilities
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public static (double min, double max) GetMinMaxFromDelta(
double initialValue,
double delta
)

Parameters

  Double
The initial value to use.
  Double
The difference for initialValue.

Return Value

ValueTuple(Double, Double)
A tuple containing the minimum and maximum of the specified number and the difference with that number.

See Also

Reference

MathUtilities Class
Avalonia.Utilities Namespace