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