public static FastColor FromInt(int Val) { FastColorUnion Union = new FastColorUnion(); Union.Val = Val; return(new FastColor(Union.R, Union.G, Union.B, (byte)(255 - Union.A))); }
public int ToInt() { FastColorUnion Union = new FastColorUnion(); Union.R = R; Union.G = G; Union.B = B; Union.A = (byte)(255 - A); return(Union.Val); }