Android Guides | Samples

Android.Graphics.Drawables.Drawable.OnBoundsChange Method

Override this in your subclass to change appearance if you vary based on the bounds.

Syntax

[Android.Runtime.Register("onBoundsChange", "(Landroid/graphics/Rect;)V", "GetOnBoundsChange_Landroid_graphics_Rect_Handler")]
protected virtual Void OnBoundsChange (Rect bounds)

Parameters

bounds

Remarks

Override this in your subclass to change appearance if you vary based on the bounds.

[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