PathGradientBrush::ResetTransform Method ()
.NET Framework (current version)
Resets the Transform property to identity.
Assembly: System.Drawing (in System.Drawing.dll)
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();
.NET Framework
Available since 1.1
Available since 1.1
Show: