3 references to SetLineCap
System.Drawing.Common.Tests (3)
System\Drawing\PenTests.cs (2)
1013pen.SetLineCap(startCap, endCap, dashCap); 1026AssertExtensions.Throws<ArgumentException>(null, () => pen.SetLineCap(LineCap.AnchorMask, LineCap.ArrowAnchor, DashCap.Flat));
System\Drawing\SystemPensTest.cs (1)
59AssertExtensions.Throws<ArgumentException>(null, () => pen.SetLineCap(LineCap.ArrowAnchor, LineCap.Custom, DashCap.Round));