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)]
1016
Assert.Equal(Enum.IsDefined(typeof(DashCap), dashCap) ? dashCap : DashCap.
Flat
, pen.DashCap);
1026
AssertExtensions.Throws<ArgumentException>(null, () => pen.SetLineCap(LineCap.AnchorMask, LineCap.ArrowAnchor, DashCap.
Flat
));
1211
Assert.Equal(DashCap.
Flat
, pen.DashCap);
System\Drawing\SystemPensTest.cs (1)
67
AssertExtensions.Throws<ArgumentException>(null, () => pen.DashCap = DashCap.
Flat
);