PropertyValuesHolder.OfFloat Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
| OfFloat(Property, Single[]) |
Construit et retourne un PropertyValuesHolder avec une propriété donnée et un ensemble de valeurs float. |
| OfFloat(String, Single[]) |
Construit et retourne un PropertyValuesHolder avec un nom de propriété donné et un ensemble de valeurs float. |
OfFloat(Property, Single[])
Construit et retourne un PropertyValuesHolder avec une propriété donnée et un ensemble de valeurs float.
[Android.Runtime.Register("ofFloat", "(Landroid/util/Property;[F)Landroid/animation/PropertyValuesHolder;", "")]
public static Android.Animation.PropertyValuesHolder? OfFloat(Android.Util.Property? property, params float[]? values);
[<Android.Runtime.Register("ofFloat", "(Landroid/util/Property;[F)Landroid/animation/PropertyValuesHolder;", "")>]
static member OfFloat : Android.Util.Property * single[] -> Android.Animation.PropertyValuesHolder
Paramètres
- property
- Property
La propriété animée. Ne doit pas être null.
- values
- Single[]
Valeurs que la propriété animera entre.
Retours
PropertyValuesHolder L’objet PropertyValuesHolder construit.
- Attributs
Remarques
Construit et retourne un PropertyValuesHolder avec une propriété donnée et un ensemble de valeurs float.
Les parties de cette page sont des modifications basées sur le travail créé et partagé par le projet Android Open Source et utilisés en fonction des termes décrits dans la licence d’attribution Creative Commons 2.5.
S’applique à
OfFloat(String, Single[])
Construit et retourne un PropertyValuesHolder avec un nom de propriété donné et un ensemble de valeurs float.
[Android.Runtime.Register("ofFloat", "(Ljava/lang/String;[F)Landroid/animation/PropertyValuesHolder;", "")]
public static Android.Animation.PropertyValuesHolder? OfFloat(string? propertyName, params float[]? values);
[<Android.Runtime.Register("ofFloat", "(Ljava/lang/String;[F)Landroid/animation/PropertyValuesHolder;", "")>]
static member OfFloat : string * single[] -> Android.Animation.PropertyValuesHolder
Paramètres
- propertyName
- String
Nom de la propriété animée.
- values
- Single[]
Valeurs que la propriété nommée animera entre.
Retours
PropertyValuesHolder L’objet PropertyValuesHolder construit.
- Attributs
Remarques
Construit et retourne un PropertyValuesHolder avec un nom de propriété donné et un ensemble de valeurs float.
Documentation Java pour android.animation.PropertyValuesHolder.ofFloat(java.lang.String, float...).
Les parties de cette page sont des modifications basées sur le travail créé et partagé par le projet Android Open Source et utilisés en fonction des termes décrits dans la licence d’attribution Creative Commons 2.5.