Display.GetRectSize(Rect) Method

Definition

Caution

deprecated

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

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

Parameters

outSize
Rect

A Rect object to receive the size information.

Attributes

Remarks

Java documentation for android.view.Display.getRectSize(android.graphics.Rect).

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