Android.Graphics.Canvas.DrawText Method
Draw the specified range of text, specified by start/end, with its origin at (x,y), in the specified Paint.

Syntax

[Android.Runtime.Register("drawText", "(Ljava/lang/CharSequence;IIFFLandroid/graphics/Paint;)V", "GetDrawText_Ljava_lang_CharSequence_IIFFLandroid_graphics_Paint_Handler")]
public virtual void DrawText (Java.Lang.ICharSequence 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 origin for where to draw the text
y
The y-coordinate of origin for where to draw the text
paint
The paint used for the text (e.g. color, size, style)

Remarks

Draw the specified range of text, specified by start/end, with its origin at (x,y), in 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