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

Syntax

[Android.Runtime.Register("drawText", "(Ljava/lang/String;IIFFLandroid/graphics/Paint;)V", "GetDrawText_Ljava_lang_String_IIFFLandroid_graphics_Paint_Handler")]
public virtual void DrawText (string text, int start, int end, float x, float y, Paint paint)

Parameters

text
The text to be drawn
start
The index of the first character in text to draw
end
(end - 1) is the index of the last character in text to draw
x
The x-coordinate of the origin of the text being drawn
y
The y-coordinate of the origin of the text being drawn
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. The origin is interpreted based on 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