BulletSpan.DrawLeadingMargin Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
DrawLeadingMargin(Canvas, Paint, Int32, Int32, Int32, Int32, Int32, String, Int32, Int32, Boolean, Layout)
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
Parameters
- canvas
- Canvas
- paint
- Paint
- x
- Int32
- dir
- Int32
- top
- Int32
- baseline
- Int32
- bottom
- Int32
- text
- String
- start
- Int32
- end
- Int32
- first
- Boolean
- layout
- Layout
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
DrawLeadingMargin(Canvas, Paint, Int32, Int32, Int32, Int32, Int32, ICharSequence, Int32, Int32, Boolean, Layout)
Renders the leading margin.
[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
Parameters
- canvas
- Canvas
- paint
- Paint
- x
- Int32
the current position of the margin
- dir
- Int32
the base direction of the paragraph; if negative, the margin is to the right of the text, otherwise it is to the left.
- top
- Int32
the top of the line
- baseline
- Int32
the baseline of the line
- bottom
- Int32
the bottom of the line
- text
- ICharSequence
the text
- start
- Int32
the start of the line
- end
- Int32
the end of the line
- first
- Boolean
true if this is the first line of its paragraph
- layout
- Layout
Implements
- Attributes
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.