HsvColorFromAhsv Method
Creates a new
HsvColor from individual color component values.
Namespace: Avalonia.MediaAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public static HsvColor FromAhsv(
double a,
double h,
double s,
double v
)
Public Shared Function FromAhsv (
a As Double,
h As Double,
s As Double,
v As Double
) As HsvColor
static member FromAhsv :
a : float *
h : float *
s : float *
v : float -> HsvColor
- a Double
- The Alpha (transparency) component in the range from 0..1.
- h Double
- The Hue component in the range from 0..360.
- s Double
- The Saturation component in the range from 0..1.
- v Double
- The Value component in the range from 0..1.
HsvColorA new
HsvColor built from the individual color component values.
This exists for symmetry with the
Color struct; however, the
appropriate constructor should commonly be used instead.