Rectangle

Rectangle structure

public struct Rectangle

构造函数

姓名描述
Rectangle(Point, Size)
Rectangle(int, int, int, int)

特性

姓名描述
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; }

方法

姓名描述
static Ceiling(RectangleF)
static FromLeftTopRightBottom(int, int, int, int)
static FromPoints(Point, Point)
static Inflate(Rectangle, int, int)
static Intersect(Rectangle, Rectangle)
static Round(RectangleF)
static Truncate(RectangleF)
static Union(Rectangle, Rectangle)
Contains(Point)
Contains(Rectangle)
Contains(int, int)
override Equals(object)
override GetHashCode()
Inflate(Size)
Inflate(int, int)
Intersect(Rectangle)
IntersectsWith(Rectangle)
Normalize()
Offset(Point)
Offset(int, int)
override ToString()
operator ==
operator !=

也可以看看