PixelRect 方法 |
PixelRect 类型公开以下成员。
名称 | 说明 | |
---|---|---|
Contains(PixelPoint) |
Contains - Returns true if the Point is within the rectangle, inclusive of the edges.
Returns false otherwise.
| |
Contains(PixelRect) |
Contains - Returns true if the PixelRect non-Empty and is entirely contained within the
rectangle, inclusive of the edges.
Returns false otherwise
| |
Contains(Int32, Int32) |
Contains - Returns true if the Point represented by x,y is within the rectangle inclusive of the edges.
Returns false otherwise.
| |
Equals(Object) |
Equals - compares this PixelRect with the passed in object. In this equality
int.NaN is equal to itself, unlike in numeric equality.
Note that int values can acquire error when operated upon, such that
an exact comparison between two values which
are logically equal may fail.
(重写 ValueTypeEquals(Object).) | |
Equals(PixelRect) |
Equals - compares this PixelRect with the passed in object. In this equality
int.NaN is equal to itself, unlike in numeric equality.
Note that int values can acquire error when operated upon, such that
an exact comparison between two values which
are logically equal may fail.
| |
Equals(PixelRect, PixelRect) |
Compares two PixelRect instances for object equality. In this equality
int.NaN is equal to itself, unlike in numeric equality.
Note that int values can acquire error when operated upon, such that
an exact comparison between two values which
are logically equal may fail.
| |
GetHashCode |
Returns the HashCode for this PixelRect
(重写 ValueTypeGetHashCode.) | |
GetType | (继承自 Object。) | |
Inflate(PixelSize) |
Inflate - inflate the bounds by the size provided, in all directions
If this is Empty, this method is illegal.
| |
Inflate(Int32, Int32) |
Inflate - inflate the bounds by the size provided, in all directions.
If -width is > Width / 2 or -height is > Height / 2, this PixelRect becomes Empty
If this is Empty, this method is illegal.
| |
Inflate(PixelRect, PixelSize) |
Inflate - return the result of inflating rect by the size provided, in all directions
If this is Empty, this method is illegal.
| |
Inflate(PixelRect, Int32, Int32) |
Inflate - return the result of inflating rect by the size provided, in all directions
If this is Empty, this method is illegal.
| |
Intersect(PixelRect) |
Intersect - Update this rectangle to be the intersection of this and rect
If either this or rect are Empty, the result is Empty as well.
| |
Intersect(PixelRect, PixelRect) |
Intersect - Return the result of the intersection of rect1 and rect2.
If either this or rect are Empty, the result is Empty as well.
| |
IntersectsWith |
IntersectsWith - Returns true if the PixelRect intersects with this rectangle
Returns false otherwise.
Note that if one edge is coincident, this is considered an intersection.
| |
Offset(Int32, Int32) |
Offset - translate the Location by the offset provided
If this is Empty, this method is illegal.
| |
Offset(PixelRect, Int32, Int32) |
Offset - return the result of offsetting rect by the offset provided
If this is Empty, this method is illegal.
| |
Scale |
Scale the rectangle in the X and Y directions
| |
ToString |
Creates a string representation of this object based on the current culture.
(重写 ValueTypeToString.) | |
ToString(IFormatProvider) |
Creates a string representation of this object based on the IFormatProvider
passed in. If the provider is null, the CurrentCulture is used.
| |
Union(PixelRect) |
Union - Update this rectangle to be the union of this and rect.
| |
Union(PixelRect, PixelRect) |
Union - Return the result of the union of rect1 and rect2.
|
名称 | 说明 | |
---|---|---|
ConvertTo |
类型转换
(由 ObjectExtenstions 定义。) | |
Delay |
延迟操作
(由 ObjectExtenstions 定义。) | |
Equal |
对象是否相等
(由 ObjectExtenstions 定义。) | |
GetCreationCode | (由 ObjectExtenstions 定义。) | |
GetPropretyValue |
获取对象属性值
(由 ObjectExtenstions 定义。) | |
GetValue |
快速动态获取对象的属性值
(由 FastReflectionExtensions 定义。) | |
Invoke |
快速动态调用对象的方法
(由 FastReflectionExtensions 定义。) | |
SetPropretyValue |
设置属性值
(由 ObjectExtenstions 定义。) | |
SetValue |
快速动态设置对象的属性值
(由 FastReflectionExtensions 定义。) |