RectangleF 構造体
定義
public value class RectangleF : IEquatable<System::Drawing::RectangleF>
[System.Serializable]
public struct RectangleF : IEquatable<System.Drawing.RectangleF>
type RectangleF = struct
Public Structure RectangleF
Implements IEquatable(Of RectangleF)
- 継承
- 属性
- 実装
注釈
四角形は、幅、高さ、左上隅によって定義されます。A rectangle is defined by its width, height, and upper-left corner.
コンストラクター
RectangleF(PointF, SizeF) |
指定した位置とサイズで、RectangleF クラスの新しいインスタンスを初期化します。Initializes a new instance of the RectangleF class with the specified location and size. |
RectangleF(Single, Single, Single, Single) |
指定した位置とサイズで、RectangleF クラスの新しいインスタンスを初期化します。Initializes a new instance of the RectangleF class with the specified location and size. |
フィールド
Empty |
メンバーを初期化しない状態で RectangleF クラスのインスタンスを表します。Represents an instance of the RectangleF class with its members uninitialized. |
プロパティ
Bottom |
この Y 構造体の Height と RectangleF の和である y 座標を取得します。Gets the y-coordinate that is the sum of Y and Height of this RectangleF structure. |
Height |
この RectangleF 構造体の高さを取得または設定します。Gets or sets the height of this RectangleF structure. |
IsEmpty |
この RectangleF の Width または Height プロパティの値がゼロかどうかを示す値を取得します。Gets a value that indicates whether the Width or Height property of this RectangleF has a value of zero. |
Left |
この RectangleF 構造体の左端の x 座標を取得します。Gets the x-coordinate of the left edge of this RectangleF structure. |
Location |
この RectangleF 構造体の左上隅の座標を取得または設定します。Gets or sets the coordinates of the upper-left corner of this RectangleF structure. |
Right |
この X 構造体の Width と RectangleF の和である x 座標を取得します。Gets the x-coordinate that is the sum of X and Width of this RectangleF structure. |
Size |
この RectangleF のサイズを取得または設定します。Gets or sets the size of this RectangleF. |
Top |
この RectangleF 構造体の上端の y 座標を取得します。Gets the y-coordinate of the top edge of this RectangleF structure. |
Width |
この RectangleF 構造体の幅を取得または設定します。Gets or sets the width of this RectangleF structure. |
X |
この RectangleF 構造体の左上隅の x 座標を取得または設定します。Gets or sets the x-coordinate of the upper-left corner of this RectangleF structure. |
Y |
この RectangleF 構造体の左上隅の y 座標を取得または設定します。Gets or sets the y-coordinate of the upper-left corner of this RectangleF structure. |
メソッド
Contains(PointF) |
指定した点がこの RectangleF 構造体に含まれているかどうかを判断します。Determines if the specified point is contained within this RectangleF structure. |
Contains(RectangleF) |
この RectangleF 構造体に、 |
Contains(Single, Single) |
指定した点がこの RectangleF 構造体に含まれているかどうかを判断します。Determines if the specified point is contained within this RectangleF structure. |
Equals(Object) |
|
Equals(RectangleF) | |
FromLTRB(Single, Single, Single, Single) |
左上隅および右下隅が指定の位置に設定された RectangleF 構造体を作成します。Creates a RectangleF structure with upper-left corner and lower-right corner at the specified locations. |
GetHashCode() |
この RectangleF 構造体のハッシュ コードを取得します。Gets the hash code for this RectangleF structure. ハッシュ コードの使い方の詳細については、 |
Inflate(RectangleF, Single, Single) |
指定の RectangleF 構造体の拡大したコピーを作成して返します。Creates and returns an enlarged copy of the specified RectangleF structure. コピーは指定した量だけ拡大され、元の四角形は変更されません。The copy is enlarged by the specified amount and the original rectangle remains unmodified. |
Inflate(Single, Single) |
この RectangleF 構造体を指定の量だけ拡大します。Enlarges this RectangleF structure by the specified amount. |
Inflate(SizeF) |
この RectangleF を指定の量だけ拡大します。Enlarges this RectangleF by the specified amount. |
Intersect(RectangleF) |
この RectangleF 構造体をその構造体と指定の RectangleF 構造体の交差部分に置き換えます。Replaces this RectangleF structure with the intersection of itself and the specified RectangleF structure. |
Intersect(RectangleF, RectangleF) |
2 つの四角形の交差部分を表す RectangleF 構造体を返します。Returns a RectangleF structure that represents the intersection of two rectangles. 交差部分がない場合は、空の RectangleF が返されます。If there is no intersection, and empty RectangleF is returned. |
IntersectsWith(RectangleF) |
この四角形が |
Offset(PointF) |
四角形の位置を指定した量によって調節します。Adjusts the location of this rectangle by the specified amount. |
Offset(Single, Single) |
四角形の位置を指定した量によって調節します。Adjusts the location of this rectangle by the specified amount. |
ToString() |
この Size の |
Union(RectangleF, RectangleF) |
和集合を形成する 2 つの四角形の両方を含めることができる最小の 3 番目の四角形を作成します。Creates the smallest possible third rectangle that can contain both of two rectangles that form a union. |
演算子
Equality(RectangleF, RectangleF) |
2 つの RectangleF 構造体の位置およびサイズが同じかどうかをテストします。Tests whether two RectangleF structures have equal location and size. |
Implicit(Rectangle to RectangleF) |
指定した Rectangle 構造体を RectangleF 構造体に変換します。Converts the specified Rectangle structure to a RectangleF structure. |
Inequality(RectangleF, RectangleF) |
2 つの RectangleF 構造体の位置またはサイズが異なるかどうかをテストします。Tests whether two RectangleF structures differ in location or size. |