Paint.GetTextPath メソッド

定義

オーバーロード

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

指定したテキストのパス (アウトライン) を返します。

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

指定したテキストのパス (アウトライン) を返します。

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

指定したテキストのパス (アウトライン) を返します。

[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

パラメーター

text
Char[]

パスを取得するテキスト

index
Int32

テキスト内の最初の文字のインデックス

count
Int32

インデックスで始まる文字数

x
Single

テキストの原点の x 座標

y
Single

テキストの原点の y 座標

path
Path

テキストを記述するデータを受け取るパス。 呼び出し元が割り当てる必要がある

属性

注釈

指定したテキストのパス (アウトライン) を返します。 注: Canvas.drawText と同様に、ペイントの [配置] 設定が優先されます。

android.graphics.Paint.getTextPath(char[], int, int, float, float, android.graphics.Path)Java ドキュメント。

このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。

適用対象

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

指定したテキストのパス (アウトライン) を返します。

[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

パラメーター

text
String

パスを取得するテキスト

start
Int32

テキストの最初の文字

end
Int32

テキスト内の最後の文字の 1 つ前

x
Single

テキストの原点の x 座標

y
Single

テキストの原点の y 座標

path
Path

テキストを記述するデータを受け取るパス。 呼び出し元が割り当てる必要がある

属性

注釈

指定したテキストのパス (アウトライン) を返します。 注: Canvas.drawText と同様に、ペイントの [配置] 設定が優先されます。

android.graphics.Paint.getTextPath(java.lang.String, int, int, float, float, android.graphics.Path)Java ドキュメント。

このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。

適用対象