20 references to Red
System.Drawing.Common.Tests (19)
System\Drawing\Drawing2D\GraphicsPathTests.cs (15)
2250
Assert.True(gp.IsOutlineVisible(10, 1, Pens.
Red
, graphics));
2252
Assert.False(gp.IsOutlineVisible(10, 2, Pens.
Red
, graphics));
2254
Assert.True(gp.IsOutlineVisible(11.0f, 1.0f, Pens.
Red
, graphics));
2256
Assert.False(gp.IsOutlineVisible(11.0f, 2.0f, Pens.
Red
, graphics));
2259
Assert.False(gp.IsOutlineVisible(point, Pens.
Red
, graphics));
2263
Assert.True(gp.IsOutlineVisible(point, Pens.
Red
, graphics));
2266
Assert.False(gp.IsOutlineVisible(fPoint, Pens.
Red
, graphics));
2270
Assert.True(gp.IsOutlineVisible(fPoint, Pens.
Red
, graphics));
2278
Assert.True(gp.IsOutlineVisible(10, 10, Pens.
Red
, graphics));
2280
Assert.False(gp.IsOutlineVisible(11, 11, Pens.
Red
, graphics));
2282
Assert.True(gp.IsOutlineVisible(11.0f, 10.0f, Pens.
Red
, graphics));
2284
Assert.False(gp.IsOutlineVisible(11.0f, 11.0f, Pens.
Red
, graphics));
2287
Assert.True(gp.IsOutlineVisible(point, Pens.
Red
, graphics));
2291
Assert.False(gp.IsOutlineVisible(point, Pens.
Red
, graphics));
2294
Assert.False(gp.IsOutlineVisible(fPoint, Pens.
Red
, graphics));
System\Drawing\GraphicsTests.cs (2)
2935
graphics.DrawRoundedRectangle(Pens.
Red
, new(0, 0, 10, 10), new(2, 2));
2944
graphics.DrawRoundedRectangle(Pens.
Red
, new RectangleF(0, 0, 10, 10), new(2, 2));
System\Drawing\PensTests.cs (1)
125
yield return Pen(() => Pens.
Red
, Color.Red);
System\Drawing\RegionTests.cs (1)
483
graphics.DrawRectangle(Pens.
Red
, rect2);
System.Windows.Forms.Primitives (1)
System\Windows\Forms\GdiPlus\GdiPlusCache.cs (1)
111
KnownColor.Red => Pens.
Red
,