UIColor.FromHSBA(nfloat, nfloat, 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 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.