CompositionSurfaceBrush.Offset Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The offset of the brush relative to its SpriteVisual.
public:
property float2 Offset { float2 get(); void set(float2 value); };
float2 Offset();
void Offset(float2 value);
public Vector2 Offset { get; set; }
var vector2 = compositionSurfaceBrush.offset;
compositionSurfaceBrush.offset = vector2;
Public Property Offset As Vector2
Property Value
The offset of the brush relative to its SpriteVisual.