7 references to Flat
System.Drawing.Common.Tests (7)
System\Drawing\PenTests.cs (6)
468[InlineData(DashCap.Flat)] 480[InlineData(DashCap.Flat - 1)] 1001[InlineData(LineCap.Flat - 1, LineCap.Flat - 1, DashCap.Flat - 1)] 1016Assert.Equal(Enum.IsDefined(typeof(DashCap), dashCap) ? dashCap : DashCap.Flat, pen.DashCap); 1026AssertExtensions.Throws<ArgumentException>(null, () => pen.SetLineCap(LineCap.AnchorMask, LineCap.ArrowAnchor, DashCap.Flat)); 1211Assert.Equal(DashCap.Flat, pen.DashCap);
System\Drawing\SystemPensTest.cs (1)
67AssertExtensions.Throws<ArgumentException>(null, () => pen.DashCap = DashCap.Flat);