Region.GetBounds(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.
Set the Rect to the bounds of the region.
[Android.Runtime.Register("getBounds", "(Landroid/graphics/Rect;)Z", "GetGetBounds_Landroid_graphics_Rect_Handler")]
public virtual bool GetBounds (Android.Graphics.Rect r);
[<Android.Runtime.Register("getBounds", "(Landroid/graphics/Rect;)Z", "GetGetBounds_Landroid_graphics_Rect_Handler")>]
abstract member GetBounds : Android.Graphics.Rect -> bool
override this.GetBounds : Android.Graphics.Rect -> bool
Parameters
- r
- Rect
Returns
- Attributes
Remarks
Set the Rect to the bounds of the region. If the region is empty, the Rect will be set to [0, 0, 0, 0]
Java documentation for android.graphics.Region.getBounds(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.