Share via


BitmapBounds 结构

定义

指定边界矩形。

public value class BitmapBounds
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
struct BitmapBounds
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public struct BitmapBounds
var bitmapBounds = {
x : /* Your value */,
y : /* Your value */,
width : /* Your value */,
height : /* Your value */
}
Public Structure BitmapBounds
继承
BitmapBounds
属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

注解

设置 BitmapTransformBounds 属性时使用此结构。

字段

Height

边界框的高度(以像素为单位)

Width

边界框的 Width(以像素为单位)。

X

边界框左上角的 X 坐标(以像素为单位)。

Y

边界框左上角的 Y 坐标(以像素为单位)。

适用于

另请参阅