Beispiel #1
0
 public static HSV V(this HSV hsv, float v)
 {
     hsv.v = v;
     return(hsv);
 }
Beispiel #2
0
 public static HSV A(this HSV hsv, float a)
 {
     hsv.a = a;
     return(hsv);
 }
Beispiel #3
0
 public static HSV H(this HSV hsv, float h)
 {
     hsv.h = h;
     return(hsv);
 }
Beispiel #4
0
 public static HSV S(this HSV hsv, float s)
 {
     hsv.s = s;
     return(hsv);
 }
Beispiel #5
0
 public static Color Color(this HSV hsv)
 {
     return((Color)hsv);
 }
Beispiel #6
0
 public static HSV A(this HSV hsv, Func <float, float> f)
 {
     hsv.a = f(hsv.a);
     return(hsv);
 }
Beispiel #7
0
 public static HSV V(this HSV hsv, Func <float, float> f)
 {
     hsv.v = f(hsv.v);
     return(hsv);
 }
Beispiel #8
0
 public static HSV S(this HSV hsv, Func <float, float> f)
 {
     hsv.s = f(hsv.s);
     return(hsv);
 }
Beispiel #9
0
 public static HSV H(this HSV hsv, Func <float, float> f)
 {
     hsv.h = f(hsv.h);
     return(hsv);
 }