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

Syntax

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

Parameters

text
The text to retrieve the path from
index
The index of the first character in text
count
The number of characterss starting with index
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