Android.Graphics.Canvas.DrawTextOnPath Method
Draw the text, with origin at (x,y), using the specified paint, along the specified path.

Syntax

[Android.Runtime.Register("drawTextOnPath", "(Ljava/lang/String;Landroid/graphics/Path;FFLandroid/graphics/Paint;)V", "GetDrawTextOnPath_Ljava_lang_String_Landroid_graphics_Path_FFLandroid_graphics_Paint_Handler")]
public virtual void DrawTextOnPath (string text, Path path, float hOffset, float vOffset, Paint paint)

Parameters

text
The text to be drawn
path
The path the text should follow for its baseline
hOffset
The distance along the path to add to the text's starting position
vOffset
The distance above(-) or below(+) the path to position the text
paint
The paint used for the text (e.g. color, size, style)

Remarks

Draw the text, with origin at (x,y), using the specified paint, along the specified path. The paint's Align setting determins where along the path to start the text.

[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