名前 | 解説 | |
---|---|---|
Rect コンストラクタ | オーバーロードされます。 |
Rectデータ型で公開されるメンバを以下の表に示します。
名前 | 解説 | |
---|---|---|
Rect コンストラクタ | オーバーロードされます。 |
名前 | 解説 | |
---|---|---|
Bottom | Gets the Y coordinate of the bottom edge of the current Rect structure. | |
BottomLeft | Gets the coordinates of the bottom left corner of the current Rect structure. | |
BottomRight | Gets the coordinates of the bottom right corner of the current Rect structure. | |
Empty | Represents an empty instance of the Rect structure. | |
Height | Gets or sets the height of the current Rect structure. | |
IsEmpty | Gets a value indicating whether the Rect.Width and Rect.Height properties of the current Rect structure have zero values. | |
Left | Gets the X coordinate of the left edge of the current Rect structure. | |
Location | Gets or sets the coordinates of the top left corner of the current Rect structure. | |
Right | Gets the X coordinate of the right edge of the current Rect structure. | |
Size | Gets or sets the size of the current Rect structure. | |
Top | Gets the Y coordinate of the top edge of the current Rect structure. | |
TopLeft | Gets the coordinates of the top left corner of the current Rect structure. | |
TopRight | Gets the coordinates of the top right corner of the current Rect structure. | |
Width | Gets or sets the width of the current Rect structure. | |
X | Gets or sets the X coordinate of the top left corner of the current Rect structure. | |
Y | Gets or sets the Y coordinate of the top left corner of the current Rect structure. |
名前 | 解説 | |
---|---|---|
Contains | オーバーロードされます。 Tests whether the specified point is contained within the current Rect. | |
Deflate | Deflates the current Rect by the specified amounts provided as Thickness. | |
Equals | Indicates whether this instance and a specified object are equal. | |
FromLTRB | Creates a Rect structure based on the coordinates of its top-left and bottom-right corners. | |
GetHashCode | Returns the hash code for this instance. | |
Inflate | オーバーロードされます。 Inflates the current Rect by the specified amounts on four sides. | |
Intersect | オーバーロードされます。 Replaces the current Rect structure with the intersection of itself and another Rect. | |
IntersectsWith | Tests whether the current Rect intersects with another. | |
Offset | オーバーロードされます。 Offsets the location of the current Rect by specified horizontal and vertical amounts. | |
Parse | Converts a string to a Rect structure. | |
ToRectangle | Converts the current Rect to a System.Drawing.Rectangle. | |
ToRectangleF | Converts the current Rect to a System.Drawing.RectangleF. | |
ToString | Converts the current Rect structure to a human-readable string representing it. | |
Union | Creates a new Rect structure representing the smallest possible rectangle containing the two specified rectangles. |
等価判定演算子 | Indicates whether two Rect structures are equal. |
暗黙的 キャスト 演算子 | オーバーロードされます。 Converts a System.Drawing.Rectangle to a Rect. |
等しくないか判定する演算子 | Indicates whether two Rect structures are not equal. |