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

System.Drawing.RectangleF

public struct RectangleF
namespace System.Drawing { public struct RectangleF { public static readonly RectangleF Empty; public float Bottom { get; } public float Height { get; set; } public bool IsEmpty { get; } public float Left { get; } public PointF Location { get; set; } public float Right { get; } public SizeF Size { get; set; } public float Top { get; } public float Width { get; set; } public float X { get; set; } public float Y { get; set; } public RectangleF(PointF location, SizeF size); public RectangleF(float x, float y, float width, float height); public bool Contains(PointF pt); public bool Contains(RectangleF rect); public bool Contains(float x, float y); public static RectangleF FromLTRB(float left, float top, float right, float bottom); public static RectangleF Inflate(RectangleF rect, float x, float y); public void Inflate(SizeF size); public void Inflate(float x, float y); public void Intersect(RectangleF rect); public static RectangleF Intersect(RectangleF a, RectangleF b); public bool IntersectsWith(RectangleF rect); public void Offset(PointF pos); public void Offset(float x, float y); public static bool operator ==(RectangleF left, RectangleF right); public static implicit operator RectangleF(Rectangle r); public static bool operator !=(RectangleF left, RectangleF right); public static RectangleF Union(RectangleF a, RectangleF b); } }