CompositionSurfaceBrush.AnchorPoint 屬性

定義

筆刷上要放置在筆刷位移上的點。 值會根據 SpriteVisual 的大小正規化。

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

void AnchorPoint(float2 value);
public Vector2 AnchorPoint { get; set; }
var vector2 = compositionSurfaceBrush.anchorPoint;
compositionSurfaceBrush.anchorPoint = vector2;
Public Property AnchorPoint As Vector2

屬性值

Vector2 Vector2

float2

筆刷上要放置在筆刷位移上的點。 值會根據 SpriteVisual 的大小正規化。

Windows 需求

裝置系列
Windows 10 Anniversary Edition (已於 10.0.14393.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v3.0 引進)

適用於