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