共用方式為


CompositionRectangleGeometry.Offset 屬性

定義

取得或設定矩形的位移。

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

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

屬性值

Vector2 Vector2

float2

矩形的位移。

適用於