Exemple #1
0
 public CieLabColor(float l, float a, float b, ColorOutOfBoundsAction action = ColorOutOfBoundsAction.DoNothing) : this()
 {
     _l     = l;
     _a     = a;
     _b     = b;
     Action = action;
 }
Exemple #2
0
 public CieLabColor(float l, float a, float b, ColorOutOfBoundsAction action = ColorOutOfBoundsAction.DoNothing)
     : this()
 {
     _l = l;
     _a = a;
     _b = b;
     Action = action;
 }
Exemple #3
0
        public XYZColor(float x, float y, float z, float alpha, ColorOutOfBoundsAction action = ColorOutOfBoundsAction.DoNothing)
        {
            _x     = x;
            _y     = y;
            _z     = z;
            _alpha = alpha;

            _action = action;
        }
Exemple #4
0
        public RGBColor(float r, float g, float b, float alpha, ColorOutOfBoundsAction action = ColorOutOfBoundsAction.DoNothing)
        {
            _r     = r;
            _g     = g;
            _b     = b;
            _alpha = alpha;

            _action = action;
        }
Exemple #5
0
        public HSVColor(float h, float s, float v, float alpha, ColorOutOfBoundsAction action = ColorOutOfBoundsAction.DoNothing)
        {
            _h     = h;
            _s     = s;
            _v     = v;
            _alpha = alpha;

            _action = action;
        }
Exemple #6
0
        public XYZColor(float x, float y, float z, float alpha, ColorOutOfBoundsAction action = ColorOutOfBoundsAction.DoNothing)
        {
            _x = x;
            _y = y;
            _z = z;
            _alpha = alpha;

            _action = action;
        }
Exemple #7
0
        public RGBColor(float r, float g, float b, float alpha, ColorOutOfBoundsAction action = ColorOutOfBoundsAction.DoNothing)
        {
            _r = r;
            _g = g;
            _b = b;
            _alpha = alpha;

            _action = action;
        }
Exemple #8
0
        public HSVColor(float h, float s, float v, float alpha, ColorOutOfBoundsAction action = ColorOutOfBoundsAction.DoNothing)
        {
            _h = h;
            _s = s;
            _v = v;
            _alpha = alpha;

            _action = action;
        }