共用方式為


CompositionRoundedRectangleGeometry.CornerRadius 屬性

定義

取得或設定圓角四捨五入的程度。

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

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

屬性值

Vector2 Vector2

float2

圓角的圓角程度。

適用於