Get Color Channel

STD Library
Tanto lado del cliente como del usuario
Disponible en PC y móvil

Get the channel values of the target color

Declaración

func GetColorChannel(color Color, out var r int, out var g int, out var b int, out var a int)
go

Parámetros

Entrada

Nombre Tipo Descripción
Color Color Target Color

Afuera

Nombre Tipo Descripción
R Int The R value of the color, range [0, 255]
G Int The G value of the color, range [0, 255]
B Int The B value of the color, range [0 , 255]
A Int The A value of the color, range [0, 255]