11 references to SolidColor
System.Drawing.Common (2)
System\Drawing\Pen.cs (2)
552if (PenType != Drawing2D.PenType.SolidColor) 600case Drawing2D.PenType.SolidColor:
System.Drawing.Common.Tests (9)
System\Drawing\PensTests.cs (1)
163Assert.Equal(PenType.SolidColor, pen.PenType);
System\Drawing\PenTests.cs (7)
13yield return new object[] { new SolidBrush(Color.Red), PenType.SolidColor }; 41yield return new object[] { new SolidBrush(Color.Red), 0, PenType.SolidColor }; 48yield return new object[] { new SolidBrush(Color.Red), float.PositiveInfinity, PenType.SolidColor }; 49yield return new object[] { new SolidBrush(Color.Red), float.NaN, PenType.SolidColor }; 50yield return new object[] { new SolidBrush(Color.Red), float.MaxValue, PenType.SolidColor }; 95VerifyPen<SolidBrush>(pen, PenType.SolidColor, 1); 110VerifyPen<SolidBrush>(pen, PenType.SolidColor, width);
System\Drawing\SystemPensTest.cs (1)
55Assert.Equal(PenType.SolidColor, pen.PenType);