12 references to Alternate
System.Drawing.Common.Tests (12)
System\Drawing\Drawing2D\GraphicsPathTests.cs (10)
37Assert.Equal(FillMode.Alternate, gp.FillMode); 44using GraphicsPath gpa = new(FillMode.Alternate); 46Assert.Equal(FillMode.Alternate, gpa.FillMode); 68Assert.Equal(FillMode.Alternate, gp.FillMode); 70Assert.Equal(FillMode.Alternate, gpf.FillMode); 73Assert.Equal(FillMode.Alternate, gp.FillMode); 75Assert.Equal(FillMode.Alternate, gpf.FillMode); 104Assert.Equal(FillMode.Alternate, clone.FillMode); 114Assert.Equal(FillMode.Alternate, gp.FillMode); 127[InlineData(FillMode.Alternate - 1)]
System\Drawing\GraphicsTests.cs (2)
2651AssertExtensions.Throws<ArgumentException>(null, () => graphics.DrawClosedCurve(pen, new Point[3], 1, FillMode.Alternate)); 2653AssertExtensions.Throws<ArgumentException>(null, () => graphics.DrawClosedCurve(pen, new PointF[3], 1, FillMode.Alternate));