PathGradientBrush.ResetTransform Metoda

Definicja

Resetuje Transform właściwość do tożsamości.

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

Przykłady

Poniższy przykład kodu resetuje geometryczną transformację pgBrush do tożsamości. Zakłada się, że myPath jest to istniejący GraphicsPathelement .

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

Dotyczy