语言

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

用于 w 的 System.Int32 值。

h
Int32

用于 h 的 System.Int32 值。

特性

注解

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于