NinePatch.GetTransparentRegion(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.
Returns a Region
representing the parts of the NinePatch that are
completely transparent.
[Android.Runtime.Register("getTransparentRegion", "(Landroid/graphics/Rect;)Landroid/graphics/Region;", "")]
public Android.Graphics.Region? GetTransparentRegion (Android.Graphics.Rect? bounds);
[<Android.Runtime.Register("getTransparentRegion", "(Landroid/graphics/Rect;)Landroid/graphics/Region;", "")>]
member this.GetTransparentRegion : Android.Graphics.Rect -> Android.Graphics.Region
Parameters
- bounds
- Rect
The location and size of the NinePatch.
Returns
null if the NinePatch has no transparent region to
report, else a Region
holding the parts of the specified bounds
that are transparent.
- Attributes
Remarks
Returns a Region
representing the parts of the NinePatch that are completely transparent.
Java documentation for android.graphics.NinePatch.getTransparentRegion(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.