PixelRect 属性 |
PixelRect 类型公开以下成员。
名称 | 说明 | |
---|---|---|
Bottom |
Bottom Property - This is a read-only alias for Y + Height
If this is the empty rectangle, the value will be negative infinity.
| |
BottomLeft |
BottomLeft Property - This is a read-only alias for the Point which is at X, Y + Height
If this is the empty rectangle, the value will be positive infinity, negative infinity.
| |
BottomRight |
BottomRight Property - This is a read-only alias for the Point which is at X + Width, Y + Height
If this is the empty rectangle, the value will be negative infinity, negative infinity.
| |
Center |
Gets the center point of the rectangle.
| |
Empty |
Empty - a static property which provides an Empty rectangle. X and Y are positive-infinity
and Width and Height are negative infinity. This is the only situation where Width or
Height can be negative.
| |
Height |
Height - The Height component of the Size. This cannot be set to negative, and will only
be negative if this is the empty rectangle, in which case it will be negative infinity.
If this rect is Empty, setting this property is illegal.
| |
IsEmpty | ||
Left |
Left Property - This is a read-only alias for X
If this is the empty rectangle, the value will be positive infinity.
| |
Location |
Location - The Point representing the origin of the Rectangle
| |
Right |
Right Property - This is a read-only alias for X + Width
If this is the empty rectangle, the value will be negative infinity.
| |
Size |
Size - The Size representing the area of the Rectangle
| |
Top |
Top Property - This is a read-only alias for Y
If this is the empty rectangle, the value will be positive infinity.
| |
TopLeft |
TopLeft Property - This is a read-only alias for the Point which is at X, Y
If this is the empty rectangle, the value will be positive infinity, positive infinity.
| |
TopRight |
TopRight Property - This is a read-only alias for the Point which is at X + Width, Y
If this is the empty rectangle, the value will be negative infinity, positive infinity.
| |
Width |
Width - The Width component of the Size. This cannot be set to negative, and will only
be negative if this is the empty rectangle, in which case it will be negative infinity.
If this rect is Empty, setting this property is illegal.
| |
X |
X - The X coordinate of the Location.
If this is the empty rectangle, the value will be positive infinity.
If this rect is Empty, setting this property is illegal.
| |
Y |
Y - The Y coordinate of the Location
If this is the empty rectangle, the value will be positive infinity.
If this rect is Empty, setting this property is illegal.
|