Langue

BitmapDrawable.GetConstantState Méthode

Définition

Retourne une instance Drawable ConstantState qui contient l’état partagé de ce Dessinable.

[Android.Runtime.Register("getConstantState", "()Landroid/graphics/drawable/Drawable$ConstantState;", "")]
public override sealed Android.Graphics.Drawables.Drawable.ConstantState? GetConstantState();
[<Android.Runtime.Register("getConstantState", "()Landroid/graphics/drawable/Drawable$ConstantState;", "")>]
override this.GetConstantState : unit -> Android.Graphics.Drawables.Drawable.ConstantState

Retours

ConstantState associé à ce dessinable. Cette valeur peut être null.

Attributs

Remarques

Retourne une instance ConstantState qui contient l’état partagé de ce Dessinable.

Référence Android pour android.graphics.drawable.BitmapDrawable.getConstantState.

Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.

S’applique à