Outline.GetRect(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.
Populates outBounds
with the outline bounds, if set, and returns
true
.
[Android.Runtime.Register("getRect", "(Landroid/graphics/Rect;)Z", "", ApiSince=24)]
public bool GetRect (Android.Graphics.Rect outRect);
[<Android.Runtime.Register("getRect", "(Landroid/graphics/Rect;)Z", "", ApiSince=24)>]
member this.GetRect : Android.Graphics.Rect -> bool
Parameters
- outRect
- Rect
the rect to populate with the outline bounds, if set
Returns
true
if outBounds
was populated with outline
bounds, or false
if no outline bounds are set
- Attributes
Remarks
Populates outBounds
with the outline bounds, if set, and returns true
. If no outline bounds are set, or if a path has been set via #setPath(Path)
, returns false
.
Java documentation for android.graphics.Outline.getRect(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.