Lingua

LineBackgroundSpanStandard.DrawBackground Metodo

Definizione

Overload

DrawBackground(Canvas, Paint, Int32, Int32, Int32, Int32, Int32, ICharSequence, Int32, Int32, Int32)

Disegnare lo sfondo nell'area di disegno.

[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

Parametri

canvas
Canvas
paint
Paint
left
Int32

Le unità di questo valore sono pixel.

right
Int32

Le unità di questo valore sono pixel.

top
Int32

Le unità di questo valore sono pixel.

baseline
Int32

Le unità di questo valore sono pixel.

bottom
Int32

Le unità di questo valore sono pixel.

start
Int32

indice di caratteri iniziale della riga

end
Int32

indice di caratteri di fine della riga

lineNumber
Int32

numero di riga nel layout di testo corrente

Implementazioni

Attributi

Commenti

Disegnare lo sfondo nell'area di disegno.

Informazioni di riferimento su Android per android.text.style.LineBackgroundSpan.Standard.drawBackground.

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a

DrawBackground(Canvas, Paint, Int32, Int32, Int32, Int32, Int32, String, Int32, Int32, Int32)

Disegnare lo sfondo nell'area di disegno.

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

Parametri

canvas
Canvas
paint
Paint
left
Int32

Le unità di questo valore sono pixel.

right
Int32

Le unità di questo valore sono pixel.

top
Int32

Le unità di questo valore sono pixel.

baseline
Int32

Le unità di questo valore sono pixel.

bottom
Int32

Le unità di questo valore sono pixel.

text
String
start
Int32

indice di caratteri iniziale della riga

end
Int32

indice di caratteri di fine della riga

lineNumber
Int32

numero di riga nel layout di testo corrente

Commenti

Disegnare lo sfondo nell'area di disegno.

Informazioni di riferimento su Android per android.text.style.LineBackgroundSpan.Standard.drawBackground.

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a