Display.GetRectSize(Rect) Display.GetRectSize(Rect) Method

Definition

Gets the size of the display as a rectangle, in pixels.

[Android.Runtime.Register("getRectSize", "(Landroid/graphics/Rect;)V", "GetGetRectSize_Landroid_graphics_Rect_Handler", ApiSince=13)]
public virtual void GetRectSize (Android.Graphics.Rect outSize);
abstract member GetRectSize : Android.Graphics.Rect -> unit
override this.GetRectSize : Android.Graphics.Rect -> unit

Parameters

outSize
Rect Rect

A Rect object to receive the size information.

Remarks

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

See also