4 writes to Y
System.Drawing.Primitives (4)
System\Drawing\RectangleF.cs (4)
95Y = value.Y; 234Y -= y; 262Y = result.Y; 316Y += y;
102 references to Y
PresentationCore (1)
System\Windows\BinaryFormat\BinaryFormatWriter.cs (1)
167value.Y,
PresentationCore.Tests (5)
BinaryFormat\SystemDrawingTests.cs (2)
32Assert.Equal(input.Y, ((RectangleF)read).Y);
FluentAssertions\FluentAssertExtensions.cs (3)
36parent.Subject.Y.Should().BeApproximately(expectedValue.Y, precision, because, becauseArgs); 58&& ComparisonHelpers.EqualsFloating(expected.Y, actual.Y, precision)
System.Drawing.Common.Tests (62)
mono\System.Drawing.Imaging\BmpCodecTests.cs (5)
53Assert.Equal(0, rect.Y); 119Assert.Equal(0, rect.Y); 185Assert.Equal(0, rect.Y); 371Assert.Equal(0, rect.Y); 502Assert.Equal(0, rect.Y);
mono\System.Drawing.Imaging\GifCodecTests.cs (1)
50Assert.Equal(0, rect.Y);
mono\System.Drawing.Imaging\IconCodecTests.cs (6)
87Assert.Equal(0, rect.Y); 235Assert.Equal(0, rect.Y); 440Assert.Equal(0, rect.Y); 662Assert.Equal(0, rect.Y); 920Assert.Equal(0, rect.Y); 1854Assert.Equal(0, rect.Y);
mono\System.Drawing.Imaging\JpegCodecTests.cs (2)
52Assert.Equal(0, rect.Y); 179Assert.Equal(0, rect.Y);
mono\System.Drawing.Imaging\PngCodecTests.cs (3)
58Assert.Equal(0, rect.Y); 260Assert.Equal(0, rect.Y); 382Assert.Equal(0, rect.Y);
mono\System.Drawing.Imaging\TiffCodecTests.cs (1)
52Assert.Equal(0, rect.Y);
mono\System.Drawing\GraphicsTests.cs (36)
157Assert.Equal(40, rects[0].Y); 185Assert.Equal(10, _rects[0].Y); 190Assert.Equal(60, _rects[1].Y); 195Assert.Equal(80, _rects[2].Y); 212Assert.Equal(40, _rects[0].Y); 230Assert.Equal(-4194304, _rects[0].Y); 247Assert.Equal(40, rects[0].Y); 259Assert.Equal(40, rects[0].Y); 271Assert.Equal(40, rects[0].Y); 322Assert.Equal(0, (int)g.ClipBounds.Y); 370AssertEquals(msg + ".compare.Y", b1.Y, b2.Y); 382Assert.Equal(0, bounds.Y); 397Assert.Equal(-10.1000004f, bounds.Y); 412Assert.Equal(0, bounds.Y); 443AssertEquals(msg + ".Y", y, bounds.Y, 1); 2033Assert.Equal(sb.Y, zb.Y); 2045Assert.Equal(mb.Y, zb.Y); 2063Assert.Equal(-4194304.0f, mb.Y); 2074Assert.Equal(-4194304.0f, mb.Y); 2204Assert.Equal(0, noclip.Y); 2212Assert.Equal(0, clip.Y); 2219Assert.Equal(-32.0, rotclip.Y, 4); 2237Assert.Equal(0, noclip.Y); 2245Assert.Equal(0, clipbound.Y); 2251Assert.Equal(0, clip.Y); 2258Assert.Equal(-200.0, rotclipbound.Y, 4); 2264Assert.Equal(-100.0, rotclip.Y, 4); 2282Assert.Equal(0, vcb.Y); 2289Assert.Equal(-100.0, rvcb.Y, 4); 2301Assert.Equal(0, vcb.Y); 2308Assert.Equal(0, svcb.Y); 2320Assert.Equal(0, vcb.Y); 2327Assert.Equal(-25, tvcb.Y);
System\Drawing\Drawing2D\LinearGradientBrushTests.cs (1)
42Assert.Equal(float.NegativeInfinity, brush.Rectangle.Y);
System\Drawing\Printing\PrinterSettingsTests.cs (2)
460Assert.Equal((double)printerSettings.DefaultPageSettings.Bounds.Y, graphic.VisibleClipBounds.Y, 0); 483Assert.Equal((double)printerSettings.DefaultPageSettings.Bounds.Y, graphic.VisibleClipBounds.Y, 0);
System\Drawing\RegionTests.cs (5)
430region.Complement(new Rectangle((int)rect.X, (int)rect.Y, (int)rect.Width, (int)rect.Height)); 837region.Exclude(new Rectangle((int)rect.X, (int)rect.Y, (int)rect.Width, (int)rect.Height)); 1170region.Intersect(new Rectangle((int)rect.X, (int)rect.Y, (int)rect.Width, (int)rect.Height)); 1733region.Union(new Rectangle((int)rect.X, (int)rect.Y, (int)rect.Width, (int)rect.Height)); 2091region.Xor(new Rectangle((int)rect.X, (int)rect.Y, (int)rect.Width, (int)rect.Height));
System.Drawing.Primitives (29)
System\Drawing\Rectangle.cs (3)
183(int)Math.Ceiling(value.Y), 198(int)value.Y, 213(int)Math.Round(value.Y),
System\Drawing\RectangleF.cs (26)
91readonly get => new PointF(X, Y); 163public readonly float Top => Y; 177public readonly float Bottom => Y + Height; 197left.X == right.X && left.Y == right.Y && left.Width == right.Width && left.Height == right.Height; 208public readonly bool Contains(float x, float y) => X <= x && x < X + Width && Y <= y && y < Y + Height; 221(X <= rect.X) && (rect.X + rect.Width <= X + Width) && (Y <= rect.Y) && (rect.Y + rect.Height <= Y + Height); 226public override readonly int GetHashCode() => HashCode.Combine(X, Y, Width, Height); 262Y = result.Y; 275float y1 = Math.Max(a.Y, b.Y); 276float y2 = Math.Min(a.Y + a.Height, b.Y + b.Height); 290(rect.X < X + Width) && (X < rect.X + rect.Width) && (rect.Y < Y + Height) && (Y < rect.Y + rect.Height); 299float y1 = Math.Min(a.Y, b.Y); 300float y2 = Math.Max(a.Y + a.Height, b.Y + b.Height); 329public override readonly string ToString() => $"{{X={X},Y={Y},Width={Width},Height={Height}}}";
System.Private.Windows.Core (1)
System\Private\Windows\Core\BinaryFormat\BinaryFormatWriter.cs (1)
229value.Y,
System.Windows.Forms (1)
System\Windows\Forms\Layout\TableLayout.cs (1)
1177float top = displayRectF.Y;
System.Windows.Forms.Primitives.TestUtilities (3)
FluentAssertions\FluentAssertExtensions.cs (3)
39parent.Subject.Y.Should().BeApproximately(expectedValue.Y, precision, because, becauseArgs); 61&& ComparisonHelpers.EqualsFloating(expected.Y, actual.Y, precision)