Language

RecordingCanvas.DrawPosText Method

Definition

Overloads

Name Description
DrawPosText(String, Single[], Paint)
Obsolete.

Draw the text in the array, with each character's origin specified by the pos array.

DrawPosText(Char[], Int32, Int32, Single[], Paint)
Obsolete.

Draw the text in the array, with each character's origin specified by the pos array.

DrawPosText(String, Single[], Paint)

Caution

deprecated

Draw the text in the array, with each character's origin specified by the pos array.

[Android.Runtime.Register("drawPosText", "(Ljava/lang/String;[FLandroid/graphics/Paint;)V", "", ApiSince=29)]
[System.Obsolete("deprecated")]
public override sealed void DrawPosText(string text, float[] pos, Android.Graphics.Paint paint);
[<Android.Runtime.Register("drawPosText", "(Ljava/lang/String;[FLandroid/graphics/Paint;)V", "", ApiSince=29)>]
[<System.Obsolete("deprecated")>]
override this.DrawPosText : string * single[] * Android.Graphics.Paint -> unit

Parameters

text
String

The UTF-16 text units to draw individually.

pos
Single[]

Position pairs starting at pos[0], one x/y pair for each selected UTF-16 code unit.

paint
Paint

The paint supplying text-rendering attributes.

Attributes

Remarks

This method is deprecated.

Android reference for android.graphics.RecordingCanvas.drawPosText.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

DrawPosText(Char[], Int32, Int32, Single[], Paint)

Caution

deprecated

Draw the text in the array, with each character's origin specified by the pos array.

[Android.Runtime.Register("drawPosText", "([CII[FLandroid/graphics/Paint;)V", "", ApiSince=29)]
[System.Obsolete("deprecated")]
public override sealed void DrawPosText(char[] text, int index, int count, float[] pos, Android.Graphics.Paint paint);
[<Android.Runtime.Register("drawPosText", "([CII[FLandroid/graphics/Paint;)V", "", ApiSince=29)>]
[<System.Obsolete("deprecated")>]
override this.DrawPosText : char[] * int * int * single[] * Android.Graphics.Paint -> unit

Parameters

text
Char[]

The UTF-16 character data containing the selected text units.

index
Int32

The index of the first character to draw

count
Int32

The number of characters to draw, starting from index.

pos
Single[]

Position pairs starting at pos[0], one x/y pair for each selected UTF-16 code unit.

paint
Paint

The paint supplying text-rendering attributes.

Attributes

Remarks

This method is deprecated.

Android reference for android.graphics.RecordingCanvas.drawPosText.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to