次の方法で共有


AdaptiveIconDrawable.IconMask Property

Definition

When called before the bound is set, the returned path is identical to R.

public virtual Android.Graphics.Path? IconMask { [Android.Runtime.Register("getIconMask", "()Landroid/graphics/Path;", "GetGetIconMaskHandler", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getIconMask", "()Landroid/graphics/Path;", "GetGetIconMaskHandler", ApiSince=26)>]
member this.IconMask : Android.Graphics.Path

Property Value

the mask path object used to clip the drawable

Attributes

Remarks

When called before the bound is set, the returned path is identical to R.string.config_icon_mask. After the bound is set, the returned path's computed bound is same as the #getBounds().

Java documentation for android.graphics.drawable.AdaptiveIconDrawable.getIconMask().

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