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

                return(HSBColor.ShiftSaturation(color, RandomMiddleRGB() - hsbColor.S));
            }
Beispiel #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);
 }
Beispiel #11
0
 public override Color?ColorForBody(DesignBody designBody)
 {
     return(HSBColor.ShiftSaturation(designBody.GetVisibleColor(), VaryAmount));
 }
Beispiel #12
0
 public override Color?ColorForBody(DesignBody designBody)
 {
     return(HSBColor.ShiftBrightness(designBody.GetVisibleColor(), VaryAmount));
 }
Beispiel #13
0
 public override Color?ColorForBody(DesignBody designBody)
 {
     return(HSBColor.ShiftHue(designBody.GetVisibleColor(), VaryHueAmount));
 }
Beispiel #14
0
 public override Color?ColorForBody(DesignBody designBody)
 {
     return(HSBColor.ShiftHue(designBody.GetVisibleColor(), RandomVary()));
 }
Beispiel #15
0
            public override Color?ColorForBody(DesignBody designBody)
            {
                Color color = designBody.GetVisibleColor();

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