Click or drag to resize
ICanvasBrushTransform Property
Gets or sets the brush transform matrix.

Namespace:  Microsoft.Graphics.Canvas.Brushes
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
Matrix3x2 Transform { get; set; }

Property Value

Type: Matrix3x2
Remarks

When you paint with a brush, it paints in the coordinate space of the render target. Brushes do not automatically position themselves to align with the object being painted; by default, they begin painting at the origin (0, 0) of the render target.

To align the content of an bitmap brush to the area being painted, you can use the Transform property to translate the bitmap to the desired location. This transform only affects the brush; it does not affect any other content drawn by the render target.

See Also