Lingua

RecordingCanvas.DrawTextOnPath Method

Definition

Overloads

Name Description
DrawTextOnPath(String, Path, Single, Single, Paint)

Draw the text, with origin at (x,y), using the specified paint, along the specified path.

DrawTextOnPath(Char[], Int32, Int32, Path, Single, Single, Paint)

Draw the text, with origin at (x,y), using the specified paint, along the specified path.

DrawTextOnPath(String, Path, Single, Single, Paint)

Draw the text, with origin at (x,y), using the specified paint, along the specified path.

[Android.Runtime.Register("drawTextOnPath", "(Ljava/lang/String;Landroid/graphics/Path;FFLandroid/graphics/Paint;)V", "", ApiSince=29)]
public override sealed void DrawTextOnPath(string text, Android.Graphics.Path path, float hOffset, float vOffset, Android.Graphics.Paint paint);
[<Android.Runtime.Register("drawTextOnPath", "(Ljava/lang/String;Landroid/graphics/Path;FFLandroid/graphics/Paint;)V", "", ApiSince=29)>]
override this.DrawTextOnPath : string * Android.Graphics.Path * single * single * Android.Graphics.Paint -> unit

Parameters

text
String
path
Path
hOffset
Single

The distance along the path to add to the text's starting position

vOffset
Single

The distance above(-) or below(+) the path to position the text

paint
Paint
Attributes

Remarks

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

Android reference for android.graphics.RecordingCanvas.drawTextOnPath.

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

DrawTextOnPath(Char[], Int32, Int32, Path, Single, Single, Paint)

Draw the text, with origin at (x,y), using the specified paint, along the specified path.

[Android.Runtime.Register("drawTextOnPath", "([CIILandroid/graphics/Path;FFLandroid/graphics/Paint;)V", "", ApiSince=29)]
public override sealed void DrawTextOnPath(char[] text, int index, int count, Android.Graphics.Path path, float hOffset, float vOffset, Android.Graphics.Paint paint);
[<Android.Runtime.Register("drawTextOnPath", "([CIILandroid/graphics/Path;FFLandroid/graphics/Paint;)V", "", ApiSince=29)>]
override this.DrawTextOnPath : char[] * int * int * Android.Graphics.Path * single * single * Android.Graphics.Paint -> unit

Parameters

text
Char[]
index
Int32

The starting index within the text to be drawn

count
Int32

Starting from index, the number of characters to draw

path
Path
hOffset
Single

The distance along the path to add to the text's starting position

vOffset
Single

The distance above(-) or below(+) the path to position the text

paint
Paint
Attributes

Remarks

Android reference for android.graphics.RecordingCanvas.drawTextOnPath.

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