HsvColorTryParse Method

Parses an HSV color string.

Definition

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

Parameters

s  String
The HSV color string to parse.
hsvColor  HsvColor
The parsed HsvColor.

Return Value

Boolean
True if parsing was successful; otherwise, false.

See Also