UIColor.FromWhiteAlpha(nfloat, nfloat) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.