Modifica

Condividi tramite


UIColor.GetRGBA(nfloat, nfloat, nfloat, nfloat) Method

Definition

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.

Applies to