Udostępnij za pośrednictwem


GradientDrawable.UseLevel Property

Definition

Returns whether this drawable's level property will be used to scale the gradient.

public virtual bool UseLevel { [Android.Runtime.Register("getUseLevel", "()Z", "GetGetUseLevelHandler", ApiSince=24)] get; }
[<get: Android.Runtime.Register("getUseLevel", "()Z", "GetGetUseLevelHandler", ApiSince=24)>]
member this.UseLevel : bool

Property Value

true if the gradient should be scaled based on level, false otherwise

Attributes

Remarks

Returns whether this drawable's level property will be used to scale the gradient.

Java documentation for android.graphics.drawable.GradientDrawable.getUseLevel().

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