ColorObject.RGBToHSV(Int32, Int32, Int32, Single[]) Metodo

Definizione

Convertire i componenti RGB in HSV.

[Android.Runtime.Register("RGBToHSV", "(III[F)V", "")]
public static void RGBToHSV(int red, int green, int blue, float[]? hsv);
[<Android.Runtime.Register("RGBToHSV", "(III[F)V", "")>]
static member RGBToHSV : int * int * int * single[] -> unit

Parametri

red
Int32

valore del componente rosso ([0..255])

green
Int32

valore del componente verde ([0..255])

blue
Int32

valore del componente blu ([0..255])

hsv
Single[]

Matrice di 3 elementi che contiene i componenti HSV risultanti.

Attributi

Commenti

Convertire i componenti RGB in HSV. <ul><li>hsv[0] è Hue \([0..360[\)</li<>hsv[1]> is Saturation \([0...1]\)</li<hsv[2]>> is Value \([0...1]\)</li></ul>

per android.graphics.Color.RGBToHSV(int, int, int, float[]).

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a