3 writes to CenterColor
System.Drawing.Common.Tests (3)
System\Drawing\Drawing2D\PathGradientBrushTests.cs (3)
142
brush.
CenterColor
= Color.Blue;
144
brush.
CenterColor
= Color.Transparent;
154
AssertExtensions.Throws<ArgumentException>(null, () => brush.
CenterColor
= Color.Blue);
3 references to CenterColor
System.Drawing.Common.Tests (3)
System\Drawing\Drawing2D\PathGradientBrushTests.cs (3)
141
Assert.Equal(Color.Black.ToArgb(), brush.
CenterColor
.ToArgb());
143
Assert.Equal(Color.Blue.ToArgb(), brush.
CenterColor
.ToArgb());
145
Assert.Equal(Color.Transparent.ToArgb(), brush.
CenterColor
.ToArgb());