Dela via


CompositionSurfaceBrush.CenterPoint Property

Definition

The point about which the brush is rotated and scaled.

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

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

Property Value

Vector2 Vector2

float2

The point about which the brush is rotated and scaled.

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Applies to