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;FFLandroid/graphics/Paint;)V", "GetDrawText_Ljava_lang_String_FFLandroid_graphics_Paint_Handler")]
public virtual void DrawText (string text, float x, float y, Paint paint)

Parameters

text
The text to be drawn
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