2 writes to CenterPoint
System.Drawing.Common.Tests (2)
System\Drawing\Drawing2D\PathGradientBrushTests.cs (2)
224
brush.
CenterPoint
= centralPoint;
229
brush.
CenterPoint
= centralPoint;
6 references to CenterPoint
System.Drawing.Common.Tests (6)
System\Drawing\Drawing2D\PathGradientBrushTests.cs (6)
223
Assert.Equal(defaultCentralPoint, brush.
CenterPoint
);
225
Assert.Equal(centralPoint, brush.
CenterPoint
);
230
Assert.Equal(float.NaN, brush.
CenterPoint
.X);
231
Assert.Equal(float.NegativeInfinity, brush.
CenterPoint
.Y);
240
AssertExtensions.Throws<ArgumentException>(null, () => brush.
CenterPoint
);
945
Assert.Equal(new PointF(10.5f, 16f), brush.
CenterPoint
);