Düzenle

Aracılığıyla paylaş


UIColor.FromWhiteAlpha(nfloat, nfloat) Method

Definition

Creates a grayscale color, based on the current colorspace.

[Foundation.Export("colorWithWhite:alpha:")]
public static UIKit.UIColor FromWhiteAlpha (nfloat white, nfloat alpha);
static member FromWhiteAlpha : nfloat * nfloat -> UIKit.UIColor

Parameters

white
nfloat

The grayscale value of the color 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