예제 #1
0
 /// <summary>
 /// </summary>
 public void HsbUpdate()
 {
     Rgba = Hsb;
     Cmyk = Hsb;
 }
예제 #2
0
 public bool Equals(MyColor other)
 {
     return(Rgba.Equals(other.Rgba));
 }
예제 #3
0
 public override int GetHashCode()
 {
     return(Rgba.GetHashCode());
 }
예제 #4
0
 /// <summary>
 /// </summary>
 /// <param name="color"></param>
 public MyColor(Color color)
 {
     Rgba = color;
     Hsb  = color;
     Cmyk = color;
 }
예제 #5
0
 /// <summary>
 /// </summary>
 public void CmykUpdate()
 {
     Rgba = Cmyk;
     Hsb  = Cmyk;
 }