語言

Surface.SetSize(Int32, Int32) 方法

定義

設定該表面的緩衝寬度與高度。

[Android.Runtime.Register("setSize", "(II)V", "GetSetSize_IIHandler")]
public virtual void SetSize(int w, int h);
[<Android.Runtime.Register("setSize", "(II)V", "GetSetSize_IIHandler")>]
abstract member SetSize : int * int -> unit
override this.SetSize : int * int -> unit

參數

w
Int32

System.Int32 用於 w 的值。

h
Int32

System.Int32 用於 h.

屬性

備註

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於