共用方式為


RecordingCanvas.DrawText 方法

定義

多載

DrawText(String, Single, Single, Paint)
DrawText(ICharSequence, Int32, Int32, Single, Single, Paint)
DrawText(Char[], Int32, Int32, Single, Single, Paint)
DrawText(String, Int32, Int32, Single, Single, Paint)

DrawText(String, Single, Single, Paint)

[Android.Runtime.Register("drawText", "(Ljava/lang/String;FFLandroid/graphics/Paint;)V", "", ApiSince=29)]
public override sealed void DrawText (string text, float x, float y, Android.Graphics.Paint paint);
[<Android.Runtime.Register("drawText", "(Ljava/lang/String;FFLandroid/graphics/Paint;)V", "", ApiSince=29)>]
override this.DrawText : string * single * single * Android.Graphics.Paint -> unit

參數

text
String
x
Single
y
Single
paint
Paint
屬性

適用於

DrawText(ICharSequence, Int32, Int32, Single, Single, Paint)

[Android.Runtime.Register("drawText", "(Ljava/lang/CharSequence;IIFFLandroid/graphics/Paint;)V", "", ApiSince=29)]
public override sealed void DrawText (Java.Lang.ICharSequence text, int start, int end, float x, float y, Android.Graphics.Paint paint);
[<Android.Runtime.Register("drawText", "(Ljava/lang/CharSequence;IIFFLandroid/graphics/Paint;)V", "", ApiSince=29)>]
override this.DrawText : Java.Lang.ICharSequence * int * int * single * single * Android.Graphics.Paint -> unit

參數

start
Int32
end
Int32
x
Single
y
Single
paint
Paint
屬性

適用於

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

[Android.Runtime.Register("drawText", "([CIIFFLandroid/graphics/Paint;)V", "", ApiSince=29)]
public override sealed void DrawText (char[] text, int index, int count, float x, float y, Android.Graphics.Paint paint);
[<Android.Runtime.Register("drawText", "([CIIFFLandroid/graphics/Paint;)V", "", ApiSince=29)>]
override this.DrawText : char[] * int * int * single * single * Android.Graphics.Paint -> unit

參數

text
Char[]
index
Int32
count
Int32
x
Single
y
Single
paint
Paint
屬性

適用於

DrawText(String, Int32, Int32, Single, Single, Paint)

[Android.Runtime.Register("drawText", "(Ljava/lang/String;IIFFLandroid/graphics/Paint;)V", "", ApiSince=29)]
public override sealed void DrawText (string text, int start, int end, float x, float y, Android.Graphics.Paint paint);
[<Android.Runtime.Register("drawText", "(Ljava/lang/String;IIFFLandroid/graphics/Paint;)V", "", ApiSince=29)>]
override this.DrawText : string * int * int * single * single * Android.Graphics.Paint -> unit

參數

text
String
start
Int32
end
Int32
x
Single
y
Single
paint
Paint
屬性

適用於