Modifier

Partager via


TextureBrush.Transform Property

Definition

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

public:
 property System::Drawing::Drawing2D::Matrix ^ Transform { System::Drawing::Drawing2D::Matrix ^ get(); void set(System::Drawing::Drawing2D::Matrix ^ value); };
public System.Drawing.Drawing2D.Matrix Transform { get; set; }
member this.Transform : System.Drawing.Drawing2D.Matrix with get, set
Public Property Transform As Matrix

Property Value

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

Remarks

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.

Applies to