Android.Graphics.Drawables.Drawable.CopyBounds Method
Return a copy of the drawable's bounds in a new Rect.

Syntax

[Android.Runtime.Register("copyBounds", "()Landroid/graphics/Rect;", "")]
public Android.Graphics.Rect CopyBounds ()

Returns

Documentation for this section has not yet been entered.

Remarks

Return a copy of the drawable's bounds in a new Rect. This returns the same values as getBounds(), but the returned object is guaranteed to not be changed later by the drawable (i.e. it retains no reference to this rect). If the caller already has a Rect allocated, call copyBounds(rect).

[Android Documentation]

Requirements

Namespace: Android.Graphics.Drawables
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1