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 的矩形。

如果开发人员指定的相关区域小于硬件支持的区域,驱动程序将默认为可能完全包含指定区域的受支持最小矩形。

适用于