<PackageReference Include="NETStandard.Library" Version="2.0.2" />

System.Drawing.Rectangle

public struct Rectangle
public static readonly Rectangle Empty

public int Bottom { get; }

public int Height { get; set; }

public bool IsEmpty { get; }

public int Left { get; }

public Point Location { get; set; }

public int Right { get; }

public Size Size { get; set; }

public int Top { get; }

public int Width { get; set; }

public int X { get; set; }

public int Y { get; set; }

public Rectangle(Point location, Size size)

public Rectangle(int x, int y, int width, int height)

public static Rectangle Ceiling(RectangleF value)

public static Rectangle FromLTRB(int left, int top, int right, int bottom)

public static Rectangle Inflate(Rectangle rect, int x, int y)

public static Rectangle Intersect(Rectangle a, Rectangle b)

public static bool op_Equality(Rectangle left, Rectangle right)

public static bool op_Inequality(Rectangle left, Rectangle right)

public static Rectangle Round(RectangleF value)

public static Rectangle Truncate(RectangleF value)

public static Rectangle Union(Rectangle a, Rectangle b)

public bool Contains(Point pt)

public bool Contains(Rectangle rect)

public bool Contains(int x, int y)

public void Inflate(Size size)

public void Inflate(int width, int height)

public void Intersect(Rectangle rect)

public bool IntersectsWith(Rectangle rect)

public void Offset(Point pos)

public void Offset(int x, int y)