ColorParser.argb constructor
create a object of this class using the ARGB values
a = alpha value 0-255
, 0 being fully transparent and 255 being fully opaque
r = red value 0-255
g = green value 0-255
b = blue value 0-255
Implementation
ColorParser.argb(int a, int r, int g, int b) {
this._color = Color.fromARGB(a, r, g, b);
_calculateFromRGB();
}