81 references to Plum
System.Drawing.Common.Tests (81)
System\Drawing\BrushesTests.cs (1)
120
yield return Brush(() => Brushes.Plum, Color.
Plum
);
System\Drawing\Drawing2D\HatchBrushTests.cs (1)
30
yield return new object[] { HatchStyle.SolidDiamond, Color.PapayaWhip, Color.
Plum
};
System\Drawing\Drawing2D\LinearGradientBrushTests.cs (73)
12
yield return new object[] { new Point(1, 2), new Point(4, 6), Color.
Plum
, Color.Red, new RectangleF(1, 2, 3, 4) };
14
yield return new object[] { new Point(-1, -2), new Point(4, 6), Color.Red, Color.
Plum
, new RectangleF(-1, -2, 5, 8) };
40
using LinearGradientBrush brush = new(new PointF(float.NaN, float.NaN), new PointF(float.PositiveInfinity, float.NegativeInfinity), Color.
Plum
, Color.Red);
76
yield return new object[] { new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, LinearGradientMode.ForwardDiagonal };
78
yield return new object[] { new Rectangle(1, 2, 3, 4), Color.Red, Color.
Plum
, LinearGradientMode.Vertical };
118
yield return new object[] { new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 180 };
121
yield return new object[] { new Rectangle(1, 2, 3, 4), Color.Red, Color.
Plum
, 90 };
235
using LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true);
249
LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true);
258
using LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true);
280
using LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true);
299
using LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true);
311
using LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true);
318
using LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true);
325
using LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true);
332
using LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true);
339
using LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true);
346
LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true);
358
using LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true) { GammaCorrection = gammaCorrection };
365
LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true);
375
using LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true);
390
using LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true)
411
using LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true);
418
using LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true);
427
using LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true);
436
using LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true);
446
using LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true);
459
LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true);
470
LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true)
491
using LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true)
510
using LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true)
535
using LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true) { LinearColors = colors };
542
using LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true);
551
using LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true);
558
LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true);
568
LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true);
578
using LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true) { Transform = transform };
585
using LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true);
592
LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true);
606
using LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true) { WrapMode = wrapMode };
615
using LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true);
622
using LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true);
629
LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true);
639
using LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true);
649
LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true);
658
using LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true);
674
using LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true);
695
using LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true);
703
using LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true);
717
using LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true);
726
LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true);
739
using LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true);
756
using LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true);
769
using LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true);
776
LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true);
789
using LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true);
806
using LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true);
819
using LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true);
826
LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true);
840
using LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true);
857
using LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true);
870
using LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true);
877
LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true);
891
using LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true);
902
using LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true);
914
using LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true);
921
LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true);
934
using LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 0, true);
948
using LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 0, true);
962
using LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true);
974
using LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true);
981
LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true);
991
LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true);
System\Drawing\GraphicsTests.cs (3)
1228
LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.
Plum
, Color.Red, 45, true);
1540
Color plum = Color.FromArgb(Color.
Plum
.ToArgb());
2736
Color color = Color.FromArgb(Color.
Plum
.ToArgb());
System\Drawing\PensTests.cs (1)
122
yield return Pen(() => Pens.Plum, Color.
Plum
);
System\Drawing\PenTests.cs (1)
15
yield return new object[] { new LinearGradientBrush(new Point(0, 0), new Point(0, 2), Color.Purple, Color.
Plum
), PenType.LinearGradient };
System\Drawing\SolidBrushTests.cs (1)
103
SolidBrush brush = new(Color.
Plum
);