ARCed.Core.ColorHandler.ARGB.ARGB C# (CSharp) Method

ARGB() public method

Default constructor
Values are clamped between 0 and 255
public ARGB ( int a, int r, int g, int b ) : System
a int Alpha value
r int Red value
g int Green value
b int Blue value
return System
            public ARGB(int a, int r, int g, int b)
                : this()
            {
                this.Alpha = a.Clamp(0, 255);
                this.Red = r.Clamp(0, 255);
                this.Green = g.Clamp(0, 255);
                this.Blue = b.Clamp(0, 255);
            }
ColorHandler.ARGB