RecordingCanvas.DrawText 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
參數
- text
- ICharSequence
- 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
- 屬性