Drawable.OnBoundsChange(Rect) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Override this in your subclass to change appearance if you vary based on the bounds.
[Android.Runtime.Register("onBoundsChange", "(Landroid/graphics/Rect;)V", "GetOnBoundsChange_Landroid_graphics_Rect_Handler")]
protected virtual void OnBoundsChange (Android.Graphics.Rect bounds);
[<Android.Runtime.Register("onBoundsChange", "(Landroid/graphics/Rect;)V", "GetOnBoundsChange_Landroid_graphics_Rect_Handler")>]
abstract member OnBoundsChange : Android.Graphics.Rect -> unit
override this.OnBoundsChange : Android.Graphics.Rect -> unit
Parameters
- bounds
- Rect
- Attributes
Remarks
Override this in your subclass to change appearance if you vary based on the bounds.
Java documentation for android.graphics.drawable.Drawable.onBoundsChange(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.