편집

다음을 통해 공유


UIColor.FromHSBA(nfloat, nfloat, nfloat, nfloat) Method

Definition

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

[Foundation.Export("colorWithHue:saturation:brightness:alpha:")]
public static UIKit.UIColor FromHSBA (nfloat hue, nfloat saturation, nfloat brightness, nfloat alpha);
static member FromHSBA : nfloat * 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.

alpha
nfloat

Alpha (transparency) value from 0.0 to 1.0f.

Returns

Attributes

Remarks

This can be used from a background thread.

Applies to