PathGradientBrush.ResetTransform メソッド

定義

Transform プロパティを ID にリセットします。

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

次のコード例では、ジオメトリの変換 pgBrush を ID にリセットします。 既存GraphicsPathであると見なされますmyPath

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

適用対象