UIColor.GetRGBA(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.
Returns the red, green, blue and alpha components of this color.
public void GetRGBA (out nfloat red, out nfloat green, out nfloat blue, out nfloat alpha);
member this.GetRGBA : * * * -> unit
Parameters
- red
- nfloat
Red component, 0.0 to 1.0f.
- green
- nfloat
Green component 0.0 to 1.0f.
- blue
- nfloat
Blue component value 0.0 to 1.0f.
- alpha
- nfloat
Alpha (transparency) value from 0.0 to 1.0f.
Remarks
This can be used from a background thread.