共用方式為


CompositionRoundedRectangleGeometry.Size 屬性

定義

取得或設定矩形的高度和寬度。

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

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

屬性值

Vector2 Vector2

float2

矩形的高度和寬度。

適用於