GradientDrawable.UseLevel Property
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 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.