Class OTZRectangles
複数の四角形の位置とサイズを表す 4 つの整数を格納します。
Inheritance
System.Object
System.Collections.ObjectModel.Collection<System.Drawing.Rectangle>
OTZRectangles
名前空間: OTZControls.Utilities
アセンブリ: OTZControls.dll
Syntax
public class OTZRectangles : Collection<Rectangle>, IList<Rectangle>, ICollection<Rectangle>, IReadOnlyList<Rectangle>, IReadOnlyCollection<Rectangle>, IEnumerable<Rectangle>, IList, ICollection, IEnumerable
コンストラクタ
OTZRectangles()
コンストラクタ
宣言
public OTZRectangles()
メソッド
IntersectsWith(Rectangle)
この四角形が rect と交差するかどうかを判断します。
宣言
public bool IntersectsWith(Rectangle rect)
パラメーター
型 | 名前 | 説明 |
---|---|---|
System.Drawing.Rectangle | rect | テスト対象の四角形。 |
戻り値
型 | 説明 |
---|---|
System.Boolean | 交差部分が存在する場合、このメソッドは true を返します。それ以外の場合は false を返します。 |