Drawable.CopyBounds Drawable.CopyBounds Method

Definition

Overloads

CopyBounds() CopyBounds()

Return a copy of the drawable's bounds in a new Rect.

CopyBounds(Rect) CopyBounds(Rect)

Return a copy of the drawable's bounds in the specified Rect (allocated by the caller).

CopyBounds() CopyBounds()

Return a copy of the drawable's bounds in a new Rect.

[Android.Runtime.Register("copyBounds", "()Landroid/graphics/Rect;", "")]
public Android.Graphics.Rect CopyBounds ();
member this.CopyBounds : unit -> Android.Graphics.Rect

Returns

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.

CopyBounds(Rect) CopyBounds(Rect)

Return a copy of the drawable's bounds in the specified Rect (allocated by the caller).

[Android.Runtime.Register("copyBounds", "(Landroid/graphics/Rect;)V", "")]
public void CopyBounds (Android.Graphics.Rect bounds);
member this.CopyBounds : Android.Graphics.Rect -> unit

Parameters

bounds
Rect Rect

Rect to receive the drawable's bounds (allocated by the caller).

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