HslColorTryParse Method

Parses an HSL color string.

Definition

Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public static bool TryParse(
	string? s,
	out HslColor? hslColor
)

Parameters

s  String
The HSL color string to parse.
hslColor  HslColor
The parsed HslColor.

Return Value

Boolean
True if parsing was successful; otherwise, false.

See Also