Drawable.DirtyBounds Property
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.
Return the drawable's dirty bounds Rect.
public virtual Android.Graphics.Rect DirtyBounds { [Android.Runtime.Register("getDirtyBounds", "()Landroid/graphics/Rect;", "GetGetDirtyBoundsHandler")] get; }
[<get: Android.Runtime.Register("getDirtyBounds", "()Landroid/graphics/Rect;", "GetGetDirtyBoundsHandler")>]
member this.DirtyBounds : Android.Graphics.Rect
Property Value
The dirty bounds of this drawable
- Attributes
Remarks
Return the drawable's dirty bounds Rect. Note: for efficiency, the returned object may be the same object stored in the drawable (though this is not guaranteed).
By default, this returns the full drawable bounds. Custom drawables may override this method to perform more precise invalidation.
Java documentation for android.graphics.drawable.Drawable.getDirtyBounds()
.
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.