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