RectDデータ型で公開されるメンバを以下の表に示します。
パブリック コンストラクタ
パブリック フィールド
| 名前 | 解説 |
| Bottom | The y-coordinate of the bottom edge. |
| Empty | An empty rectangle. |
| Infinite | A rectangle that has its upper-left corner set to (negative infinity, negative infinity) and its lower-right corner set to (infinity, infinity). |
| Left | The x-coordinate of the left edge. |
| Right | The x-coordinate of the right edge. |
| SizeInBytes | The size of the RectD type, in bytes. |
| Top | The y-coordinate of the top edge. |
トップ
パブリック プロパティ
| 名前 | 解説 |
| Center | Gets the point with coordinates of the rectangle center. |
| HasSpace | Determines if there is some space within the rectangle. |
| Height | Gets or sets the height of the rectangle. |
| IsEmpty | Determines if all components of RectD are equal to zero. |
| Location | Gets the point with coordinates of the left top corner of the rectangle. |
| Size | Gets the size of the rectangle. |
| Width | Gets or sets the width of the rectangle. |
| X | Gets or sets the X coordinate of the rectangle. |
| Y | Gets or sets the Y coordinate of the rectangle. |
トップ
パブリック メソッド
| 名前 | 解説 |
| Circumscribe | Returns a RectL with circumscribed coordinates. |
| Contains | オーバーロードされます。 Determines if the specified point is contained within this rectangle. |
| Equals | オーバーロードされます。 Indicates whether this instance and a specified object are equal. |
| FromDips | オーバーロードされます。 Converts a rectangle from DIPs to pixels. |
| FromLTRB | Creates a RectD struct from (left, top, right, bottom) coordinates. |
| GetHashCode | Returns a hash code for this instance. |
| Inflate | オーバーロードされます。 Inflates the rectangle by the specified amount. |
| Intersect | Returns a rectangle that represents the intersection of two rectangles. |
| IntersectFast | Quickly updates a rectangle to represent the intersection with another rectangle. |
| IntersectsWith | Determines if this rectangle intersects with rect. |
| MakeLTRB | Converts the rectangle from (X, Y, Width, Height) to (Left, Top, Right, Bottom) coordinates. |
| MakeXYWH | Converts the rectangle from (Left, Top, Right, Bottom) to (X, Y, Width, Height) coordinates. |
| Offset | オーバーロードされます。 Offsets the rectangle by the specified amount. |
| PointFromRect | Recalculates the point coordinates from relative units (0..1, 0..1) to absolute (Left..Right, Top..Bottom). |
| Round | Returns a RectL with rounded coordinates. |
| Scale | オーバーロードされます。 Scales all coordinates of a rectangle by the specified scaleFactor. |
| ToDips | オーバーロードされます。 Converts a rectangle from pixels to DIPs. |
| ToRectangleF | Converts RectD to System.Drawing.RectangleF. |
| ToRectF | Converts RectD to RectF. |
| ToString | Returns a string that represents the current object. |
| Truncate | Returns a RectL with truncated coordinates. |
| Union | Creates the smallest possible third rectangle that can contain both of two rectangles that form a union. |
トップ
パブリック オペレータ
等価判定演算子 | Determines if the specified values are equal. |
等しくないか判定する演算子 | Determines if the specified values are not equal. |
トップ
参照