RegionOfInterest.Bounds 屬性

定義

取得或設定定義焦點區域的矩形。

public:
 property Rect Bounds { Rect get(); void set(Rect value); };
Rect Bounds();

void Bounds(Rect value);
public Rect Bounds { get; set; }
var rect = regionOfInterest.bounds;
regionOfInterest.bounds = rect;
Public Property Bounds As Rect

屬性值

定義焦點區域的矩形。

備註

若要指定具有非正規化座標的點,這表示 BoundsNormalized 屬性未設定或設定為 FALSE,您應該指定寬度為 1 且高度為 1 的矩形。

若要指定具有正規化座標的點,這表示 BoundsNormalized 設定為 TRUE,您應該指定寬度為 FLT_EPSILON 且高度為 FLT_EPSILON 的矩形。

如果開發人員所指定的區域小於硬體所支援的區域,驅動程式會預設為最小型支援的矩形,完全包含指定的區域。

適用於