Edit

Share via


PathGradientBrush.ResetTransform Method

Definition

Resets the Transform property to identity.

public void 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