Color.SetRGB (gb.image)

Static Function SetRGB ( Color As Integer [ , Red As Integer, Green As Integer, Blue As Integer, Alpha As Integer ] ) As Integer

Imposta i componenti RGBA del colore specificato e lo restituisce come valore intero.

Se un componente non è specificato, non viene modificato.

È più veloce usare questa funzione che usare la classe ColorInfo.