LineBackgroundSpanStandard.DrawBackground Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
| Nombre | Description |
|---|---|
| DrawBackground(Canvas, Paint, Int32, Int32, Int32, Int32, Int32, ICharSequence, Int32, Int32, Int32) |
Dibuje el fondo en el lienzo. |
| DrawBackground(Canvas, Paint, Int32, Int32, Int32, Int32, Int32, String, Int32, Int32, Int32) |
Dibuje el fondo en el lienzo. |
DrawBackground(Canvas, Paint, Int32, Int32, Int32, Int32, Int32, ICharSequence, Int32, Int32, Int32)
Dibuje el fondo en el lienzo.
[Android.Runtime.Register("drawBackground", "(Landroid/graphics/Canvas;Landroid/graphics/Paint;IIIIILjava/lang/CharSequence;III)V", "GetDrawBackground_Landroid_graphics_Canvas_Landroid_graphics_Paint_IIIIILjava_lang_CharSequence_IIIHandler", ApiSince=29)]
public virtual void DrawBackground(Android.Graphics.Canvas canvas, Android.Graphics.Paint paint, int left, int right, int top, int baseline, int bottom, Java.Lang.ICharSequence text, int start, int end, int lineNumber);
[<Android.Runtime.Register("drawBackground", "(Landroid/graphics/Canvas;Landroid/graphics/Paint;IIIIILjava/lang/CharSequence;III)V", "GetDrawBackground_Landroid_graphics_Canvas_Landroid_graphics_Paint_IIIIILjava_lang_CharSequence_IIIHandler", ApiSince=29)>]
abstract member DrawBackground : Android.Graphics.Canvas * Android.Graphics.Paint * int * int * int * int * int * Java.Lang.ICharSequence * int * int * int -> unit
override this.DrawBackground : Android.Graphics.Canvas * Android.Graphics.Paint * int * int * int * int * int * Java.Lang.ICharSequence * int * int * int -> unit
Parámetros
- canvas
- Canvas
- paint
- Paint
- left
- Int32
Las unidades de este valor son píxeles.
- right
- Int32
Las unidades de este valor son píxeles.
- top
- Int32
Las unidades de este valor son píxeles.
- baseline
- Int32
Las unidades de este valor son píxeles.
- bottom
- Int32
Las unidades de este valor son píxeles.
- text
- ICharSequence
- start
- Int32
índice de caracteres de inicio de la línea
- end
- Int32
índice de carácter final de la línea
- lineNumber
- Int32
número de línea en el diseño de texto actual
Implementaciones
- Atributos
Comentarios
Dibuje el fondo en el lienzo.
Referencia de Android para android.text.style.LineBackgroundSpan.Standard.drawBackground.
Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.
Se aplica a
DrawBackground(Canvas, Paint, Int32, Int32, Int32, Int32, Int32, String, Int32, Int32, Int32)
Dibuje el fondo en el lienzo.
public void DrawBackground(Android.Graphics.Canvas canvas, Android.Graphics.Paint paint, int left, int right, int top, int baseline, int bottom, string text, int start, int end, int lineNumber);
member this.DrawBackground : Android.Graphics.Canvas * Android.Graphics.Paint * int * int * int * int * int * string * int * int * int -> unit
Parámetros
- canvas
- Canvas
- paint
- Paint
- left
- Int32
Las unidades de este valor son píxeles.
- right
- Int32
Las unidades de este valor son píxeles.
- top
- Int32
Las unidades de este valor son píxeles.
- baseline
- Int32
Las unidades de este valor son píxeles.
- bottom
- Int32
Las unidades de este valor son píxeles.
- text
- String
- start
- Int32
índice de caracteres de inicio de la línea
- end
- Int32
índice de carácter final de la línea
- lineNumber
- Int32
número de línea en el diseño de texto actual
Comentarios
Dibuje el fondo en el lienzo.
Referencia de Android para android.text.style.LineBackgroundSpan.Standard.drawBackground.
Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.