Exemple #1
0
            public override Color?ColorForBody(DesignBody designBody)
            {
                Color    color    = designBody.GetVisibleColor();
                HSBColor hsbColor = HSBColor.FromColor(color);

                return(HSBColor.ShiftSaturation(color, RandomMiddleRGB() - hsbColor.S));
            }
Exemple #2
0
            public override Color?ColorForBody(DesignBody designBody)
            {
                Color color = designBody.GetVisibleColor();

                return(Color.FromArgb(
                           RandomVaryRGB(color.R),
                           RandomVaryRGB(color.G),
                           RandomVaryRGB(color.B)
                           ));
            }
 public override Color? ColorForBody(DesignBody designBody)
 {
     return HSBColor.ShiftSaturation(designBody.GetVisibleColor(), RandomVary());
 }
 public override Color? ColorForBody(DesignBody designBody)
 {
     Color color = designBody.GetVisibleColor();
     return Color.FromArgb(
         RandomVaryRGB(color.R),
         RandomVaryRGB(color.G),
         RandomVaryRGB(color.B)
     );
 }
 public override Color? ColorForBody(DesignBody designBody)
 {
     return HSBColor.ShiftBrightness(designBody.GetVisibleColor(), RandomVary());
 }
 public override Color? ColorForBody(DesignBody designBody)
 {
     Color color = designBody.GetVisibleColor();
     HSBColor hsbColor = HSBColor.FromColor(color);
     return HSBColor.ShiftSaturation(color, RandomMiddleRGB() - hsbColor.S);
 }
 public override Color? ColorForBody(DesignBody designBody)
 {
     Color color = designBody.GetVisibleColor();
     return HSBColor.ShiftHue(color, RandomHue());
 }
 public override Color? ColorForBody(DesignBody designBody)
 {
     return HSBColor.ShiftHue(designBody.GetVisibleColor(), VaryHueAmount);
 }
 public override Color? ColorForBody(DesignBody designBody)
 {
     return HSBColor.ShiftSaturation(designBody.GetVisibleColor(), -VaryAmount);
 }
 public override Color? ColorForBody(DesignBody designBody)
 {
     return HSBColor.ShiftBrightness(designBody.GetVisibleColor(), -VaryAmount);
 }
Exemple #11
0
 public override Color?ColorForBody(DesignBody designBody)
 {
     return(HSBColor.ShiftSaturation(designBody.GetVisibleColor(), VaryAmount));
 }
Exemple #12
0
 public override Color?ColorForBody(DesignBody designBody)
 {
     return(HSBColor.ShiftBrightness(designBody.GetVisibleColor(), VaryAmount));
 }
Exemple #13
0
 public override Color?ColorForBody(DesignBody designBody)
 {
     return(HSBColor.ShiftHue(designBody.GetVisibleColor(), VaryHueAmount));
 }
Exemple #14
0
 public override Color?ColorForBody(DesignBody designBody)
 {
     return(HSBColor.ShiftHue(designBody.GetVisibleColor(), RandomVary()));
 }
Exemple #15
0
            public override Color?ColorForBody(DesignBody designBody)
            {
                Color color = designBody.GetVisibleColor();

                return(HSBColor.ShiftHue(color, RandomHue()));
            }