編輯

共用方式為


UIColor.FromHSB(nfloat, nfloat, nfloat) Method

Definition

Creates a color from using the hue, saturation and brightness components.

public static UIKit.UIColor FromHSB (nfloat hue, nfloat saturation, nfloat brightness);
static member FromHSB : nfloat * nfloat * nfloat -> UIKit.UIColor

Parameters

hue
nfloat

Hue component value from 0.0 to 1.0f.

saturation
nfloat

Saturation component value from 0.0 to 1.0f

brightness
nfloat

Brightness component value from 0.0 to 1.0f.

Returns

Remarks

This can be used from a background thread.

Applies to