Aracılığıyla paylaş


NinePatch.GetTransparentRegion(Rect) Method

Definition

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.

Applies to