Partager via


Size(Int32, Int32) Constructor

Definition

Create a new immutable Size instance.

[Android.Runtime.Register(".ctor", "(II)V", "")]
public Size (int width, int height);
[<Android.Runtime.Register(".ctor", "(II)V", "")>]
new Android.Util.Size : int * int -> Android.Util.Size

Parameters

width
Int32

The width of the size, in pixels

height
Int32

The height of the size, in pixels

Attributes

Remarks

Create a new immutable Size instance.

Java documentation for android.util.Size.Size(int, int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to