Path.Interpolate(Path, Single, Path) 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.
Cette méthode interpole de façon linéaire à partir de ce chemin d’accès en otherPath fonction du paramètre td’interpolation , en retournant le résultat en interpolatedPath.
[Android.Runtime.Register("interpolate", "(Landroid/graphics/Path;FLandroid/graphics/Path;)Z", "GetInterpolate_Landroid_graphics_Path_FLandroid_graphics_Path_Handler", ApiSince=34)]
public virtual bool Interpolate(Android.Graphics.Path otherPath, float t, Android.Graphics.Path interpolatedPath);
[<Android.Runtime.Register("interpolate", "(Landroid/graphics/Path;FLandroid/graphics/Path;)Z", "GetInterpolate_Landroid_graphics_Path_FLandroid_graphics_Path_Handler", ApiSince=34)>]
abstract member Interpolate : Android.Graphics.Path * single * Android.Graphics.Path -> bool
override this.Interpolate : Android.Graphics.Path * single * Android.Graphics.Path -> bool
Paramètres
- otherPath
- Path
L’autre Path interpolé vers.
- t
- Single
Paramètre d’interpolation. Une valeur de 0 entraîne un Path équivalent à ce chemin, une valeur de 1 entraîne un équivalent à otherPath.
- interpolatedPath
- Path
Résultats interpolés.
Retours
- Attributs
Remarques
Cette méthode interpole de façon linéaire à partir de ce chemin d’accès en otherPath fonction du paramètre td’interpolation , en retournant le résultat en interpolatedPath. L’interpolation réussit uniquement si les structures des deux chemins correspondent exactement, comme indiqué dans #isInterpolatable(Path).
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.