PathGradientBrush.ResetTransform 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將屬性 Transform 重置為同一性。
public:
void ResetTransform();
public void ResetTransform();
member this.ResetTransform : unit -> unit
Public Sub ResetTransform ()
範例
以下程式碼範例將 的 pgBrush 幾何變換重置為恆等。 假設 是 myPath 存在 GraphicsPath的 。
PathGradientBrush pgBrush = new PathGradientBrush(myPath);
pgBrush.ResetTransform();