RectangleF

RectangleF structure

public struct RectangleF

Constructors

Name Description
RectangleF(PointF, SizeF)
RectangleF(float, float, float, float)

Properties

Name Description
static Empty { get; }
Bottom { get; set; }
Height { get; set; }
IsEmpty { get; }
Left { get; set; }
Location { get; set; }
Right { get; set; }
Size { get; set; }
Top { get; set; }
Width { get; set; }
X { get; set; }
Y { get; set; }

Methods

Name Description
static FromLeftTopRightBottom(float, float, float, float)
static FromPoints(PointF, PointF)
static Inflate(RectangleF, float, float)
static Intersect(RectangleF, RectangleF)
static Union(RectangleF, RectangleF)
Contains(PointF)
Contains(RectangleF)
Contains(float, float)
override Equals(object)
override GetHashCode()
Inflate(SizeF)
Inflate(float, float)
Intersect(RectangleF)
IntersectsWith(RectangleF)
Normalize()
Offset(PointF)
Offset(float, float)
override ToString()
operator /
operator ==
implicit operator
operator !=
operator *

See Also