編輯

共用方式為


SKColorF.FromHsv(Single, Single, Single, Single) Method

Definition

Creates a color from the specified hue, saturation, value/brightness and alpha values.

public static SkiaSharp.SKColorF FromHsv (float h, float s, float v, float a = 1);

Parameters

h
Single

The hue value.

s
Single

The saturation value.

v
Single

The value/brightness value.

a
Single

The alpha value.

Returns

The new SKColorF instance.

Applies to