Dela via


CompositionGradientBrush.Offset Property

Definition

Gets or sets the offset of the brush relative to the object being painted.

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

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

Property Value

Vector2 Vector2

float2

The offset of the brush relative to the object being painted.

Applies to