Shape.OnResize(Single, Single) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
當執行時 #resize(float,float) 呼叫回調方法。
[Android.Runtime.Register("onResize", "(FF)V", "GetOnResize_FFHandler")]
protected virtual void OnResize(float width, float height);
[<Android.Runtime.Register("onResize", "(FF)V", "GetOnResize_FFHandler")>]
abstract member OnResize : single * single -> unit
override this.OnResize : single * single -> unit
參數
- width
- Single
形狀的新寬度
- height
- Single
形狀的新高度
- 屬性
備註
當執行時 #resize(float,float) 呼叫回調方法。
Java 文件 android.graphics.drawable.shapes.Shape.onResize(float, float)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。