CompositionRectangleGeometry.Size 属性

定义

获取或设置矩形的高度和宽度。

public:
 property float2 Size { float2 get(); void set(float2 value); };
float2 Size();

void Size(float2 value);
public Vector2 Size { get; set; }
var vector2 = compositionRectangleGeometry.size;
compositionRectangleGeometry.size = vector2;
Public Property Size As Vector2

属性值

Vector2 Vector2

float2

矩形的高度和宽度。

适用于