13 references to AddLines
System.Drawing.Common.Tests (13)
System\Drawing\Drawing2D\GraphicsPathIteratorTests.cs (5)
62
gp.
AddLines
(_twoPoints);
89
gp.
AddLines
(_twoPoints);
122
gp.
AddLines
(_twoPoints);
133
gp.
AddLines
(_twoPoints);
142
gp.
AddLines
(_twoPoints);
System\Drawing\Drawing2D\GraphicsPathTests.cs (7)
259
gpf.
AddLines
(new PointF[] { new(1, 1), new(2, 2) });
268
gpi.
AddLines
(new PointF[] { new(1, 1) });
272
gpf.
AddLines
(new PointF[] { new(1, 1) });
303
gpf.
AddLines
(floatPoints);
307
gpf.
AddLines
(floatPoints);
317
AssertExtensions.Throws<ArgumentNullException>("points", () => new GraphicsPath().
AddLines
((PointF[])null));
324
AssertExtensions.Throws<ArgumentException>("points", null, () => new GraphicsPath().
AddLines
(Array.Empty<PointF>()));
System\Drawing\Drawing2D\PathGradientBrushTests.cs (1)
114
path.
AddLines
(new PointF[] { new(1, 1) });