Esempio n. 1
0
 public static string ToRGBA(this Color @this)
 {
     return(ColorHelper.RGBA(@this));
 }
Esempio n. 2
0
 public static string ToHEX(this Color @this)
 {
     return(ColorHelper.ToHEX(@this));
 }
Esempio n. 3
0
 public static void FromHex(this Color @this, string hex, int alpha = 255)
 {
     @this = ColorHelper.ToColor(hex, alpha);
 }
Esempio n. 4
0
 public static void FromCMYK(this Color @this, CMYK value)
 {
     @this = ColorHelper.ToColor(value);
 }
Esempio n. 5
0
 public static CMYK ToCMYK(this Color @this)
 {
     return(ColorHelper.ToCMYK(@this));
 }
Esempio n. 6
0
 public Color ToColor()
 {
     return(ColorHelper.ToColor(this));
 }
Esempio n. 7
0
 public CMYK(Color color)
 {
     this = ColorHelper.ToCMYK(color);
 }
Esempio n. 8
0
 public HSB(Color color)
 {
     this = ColorHelper.ToHSB(color);
 }
Esempio n. 9
0
 public static HSB ToHSB(this Color @this)
 {
     return(ColorHelper.ToHSB(@this));
 }
Esempio n. 10
0
 public static void FromHSB(this Color @this, HSB value)
 {
     @this = ColorHelper.ToColor(value);
 }