Langue

Paint.GetTextPath Méthode

Définition

Surcharges

Nom Description
GetTextPath(Char[], Int32, Int32, Single, Single, Path)

Retourne le chemin d’accès (plan) du texte spécifié.

GetTextPath(String, Int32, Int32, Single, Single, Path)

Retourne le chemin d’accès (plan) du texte spécifié.

GetTextPath(Char[], Int32, Int32, Single, Single, Path)

Retourne le chemin d’accès (plan) du texte spécifié.

[Android.Runtime.Register("getTextPath", "([CIIFFLandroid/graphics/Path;)V", "GetGetTextPath_arrayCIIFFLandroid_graphics_Path_Handler")]
public virtual void GetTextPath(char[]? text, int index, int count, float x, float y, Android.Graphics.Path? path);
[<Android.Runtime.Register("getTextPath", "([CIIFFLandroid/graphics/Path;)V", "GetGetTextPath_arrayCIIFFLandroid_graphics_Path_Handler")>]
abstract member GetTextPath : char[] * int * int * single * single * Android.Graphics.Path -> unit
override this.GetTextPath : char[] * int * int * single * single * Android.Graphics.Path -> unit

Paramètres

text
Char[]

texte à partir duquel récupérer le chemin d’accès

index
Int32

index du premier caractère dans le texte

count
Int32

nombre de caractères commençant par l’index

x
Single

coordonnée x de l’origine du texte

y
Single

coordonnée y de l’origine du texte

path
Path

chemin d’accès pour recevoir les données décrivant le texte. Doit être alloué par l’appelant

Attributs

Remarques

Retourne le chemin d’accès (plan) du texte spécifié. Remarque : tout comme Canvas.drawText, cela respecte le paramètre Aligner dans la peinture.

Java documentation pour android.graphics.Paint.getTextPath(char[], int, int, float, float, android.graphics.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.

S’applique à

GetTextPath(String, Int32, Int32, Single, Single, Path)

Retourne le chemin d’accès (plan) du texte spécifié.

[Android.Runtime.Register("getTextPath", "(Ljava/lang/String;IIFFLandroid/graphics/Path;)V", "GetGetTextPath_Ljava_lang_String_IIFFLandroid_graphics_Path_Handler")]
public virtual void GetTextPath(string? text, int start, int end, float x, float y, Android.Graphics.Path? path);
[<Android.Runtime.Register("getTextPath", "(Ljava/lang/String;IIFFLandroid/graphics/Path;)V", "GetGetTextPath_Ljava_lang_String_IIFFLandroid_graphics_Path_Handler")>]
abstract member GetTextPath : string * int * int * single * single * Android.Graphics.Path -> unit
override this.GetTextPath : string * int * int * single * single * Android.Graphics.Path -> unit

Paramètres

text
String

texte à partir duquel récupérer le chemin d’accès

start
Int32

premier caractère dans le texte

end
Int32

1 au-delà du dernier caractère dans le texte

x
Single

coordonnée x de l’origine du texte

y
Single

coordonnée y de l’origine du texte

path
Path

chemin d’accès pour recevoir les données décrivant le texte. Doit être alloué par l’appelant

Attributs

Remarques

Retourne le chemin d’accès (plan) du texte spécifié. Remarque : tout comme Canvas.drawText, cela respecte le paramètre Aligner dans la peinture.

Java documentation pour android.graphics.Paint.getTextPath(java.lang.String, int, int, float, float, android.graphics.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.

S’applique à