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 System.Runtime.InteropServices.NFloat red, out System.Runtime.InteropServices.NFloat green, out System.Runtime.InteropServices.NFloat blue, out System.Runtime.InteropServices.NFloat alpha);
member this.GetRGBA : NFloat * NFloat * NFloat * NFloat -> 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.