BulletSpan.DrawLeadingMargin Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
| Nom | Description |
|---|---|
| DrawLeadingMargin(Canvas, Paint, Int32, Int32, Int32, Int32, Int32, String, Int32, Int32, Boolean, Layout) |
Affiche la marge de début. |
| DrawLeadingMargin(Canvas, Paint, Int32, Int32, Int32, Int32, Int32, ICharSequence, Int32, Int32, Boolean, Layout) |
Affiche la marge de début. |
DrawLeadingMargin(Canvas, Paint, Int32, Int32, Int32, Int32, Int32, String, Int32, Int32, Boolean, Layout)
Affiche la marge de début.
public void DrawLeadingMargin(Android.Graphics.Canvas canvas, Android.Graphics.Paint paint, int x, int dir, int top, int baseline, int bottom, string text, int start, int end, bool first, Android.Text.Layout? layout);
member this.DrawLeadingMargin : Android.Graphics.Canvas * Android.Graphics.Paint * int * int * int * int * int * string * int * int * bool * Android.Text.Layout -> unit
Paramètres
- canvas
- Canvas
- paint
- Paint
- x
- Int32
position actuelle de la marge
- dir
- Int32
direction de base du paragraphe ; si elle est négative, la marge est à droite du texte, sinon elle est à gauche.
- top
- Int32
en haut de la ligne
- baseline
- Int32
la base de référence de la ligne
- bottom
- Int32
le bas de la ligne
- text
- String
- start
- Int32
début de la ligne
- end
- Int32
la fin de la ligne
- first
- Boolean
true si c’est la première ligne de son paragraphe
- layout
- Layout
Remarques
Affiche la marge de début. Cela est appelé avant que la marge ait été ajustée par la valeur retournée par getLeadingMargin(boolean).
Référence Android pour android.text.style.BulletSpan.drawLeadingMargin.
Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.
S’applique à
DrawLeadingMargin(Canvas, Paint, Int32, Int32, Int32, Int32, Int32, ICharSequence, Int32, Int32, Boolean, Layout)
Affiche la marge de début.
[Android.Runtime.Register("drawLeadingMargin", "(Landroid/graphics/Canvas;Landroid/graphics/Paint;IIIIILjava/lang/CharSequence;IIZLandroid/text/Layout;)V", "GetDrawLeadingMargin_Landroid_graphics_Canvas_Landroid_graphics_Paint_IIIIILjava_lang_CharSequence_IIZLandroid_text_Layout_Handler")]
public virtual void DrawLeadingMargin(Android.Graphics.Canvas canvas, Android.Graphics.Paint paint, int x, int dir, int top, int baseline, int bottom, Java.Lang.ICharSequence text, int start, int end, bool first, Android.Text.Layout? layout);
[<Android.Runtime.Register("drawLeadingMargin", "(Landroid/graphics/Canvas;Landroid/graphics/Paint;IIIIILjava/lang/CharSequence;IIZLandroid/text/Layout;)V", "GetDrawLeadingMargin_Landroid_graphics_Canvas_Landroid_graphics_Paint_IIIIILjava_lang_CharSequence_IIZLandroid_text_Layout_Handler")>]
abstract member DrawLeadingMargin : Android.Graphics.Canvas * Android.Graphics.Paint * int * int * int * int * int * Java.Lang.ICharSequence * int * int * bool * Android.Text.Layout -> unit
override this.DrawLeadingMargin : Android.Graphics.Canvas * Android.Graphics.Paint * int * int * int * int * int * Java.Lang.ICharSequence * int * int * bool * Android.Text.Layout -> unit
Paramètres
- canvas
- Canvas
- paint
- Paint
- x
- Int32
position actuelle de la marge
- dir
- Int32
direction de base du paragraphe ; si elle est négative, la marge est à droite du texte, sinon elle est à gauche.
- top
- Int32
en haut de la ligne
- baseline
- Int32
la base de référence de la ligne
- bottom
- Int32
le bas de la ligne
- text
- ICharSequence
texte
- start
- Int32
début de la ligne
- end
- Int32
la fin de la ligne
- first
- Boolean
true si c’est la première ligne de son paragraphe
- layout
- Layout
Implémente
- Attributs
Remarques
Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.