Android.Graphics.Paint.GetTextPath Method
Return the path (outline) for the specified text.

Syntax

[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, Path path)

Parameters

text
The text to retrieve the path from
start
The first character in the text
end
1 past the last charcter in the text
x
The x coordinate of the text's origin
y
The y coordinate of the text's origin
path
The path to receive the data describing the text. Must be allocated by the caller.

Remarks

Return the path (outline) for the specified text. Note: just like Canvas.drawText, this will respect the Align setting in the paint.

[Android Documentation]

Requirements

Namespace: Android.Graphics
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1