TextureBrush.Transform Property


Gets or sets a copy of the Matrix object that defines a local geometric transformation for the image associated with this TextureBrush object.

Namespace:   System.Drawing
Assembly:  System.Drawing (in System.Drawing.dll)

public Matrix Transform { get; set; }

Property Value

Type: System.Drawing.Drawing2D.Matrix

A copy of the Matrix object that defines a geometric transformation that applies only to fills drawn by using this TextureBrush object.

A geometric transformation can be used to translate, scale, rotate, or skew the image that defines the texture of this brush. Because the matrix returned and by the Transform property is a copy of the brush's geometric transform, you should dispose of the matrix when you no longer need it.

.NET Framework
Available since 1.1
Return to top