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
- 属性