Edit

Share via


PathGradientBrush.ResetTransform Method

Definition

Resets the Transform property to identity.

public:
 void ResetTransform();
public void ResetTransform ();
member this.ResetTransform : unit -> unit
Public Sub ResetTransform ()

Examples

The following code example resets the geometric transform of pgBrush to identity. It is assumed that myPath is an existing GraphicsPath.

PathGradientBrush pgBrush = new PathGradientBrush(myPath);
 pgBrush.ResetTransform();

Applies to