Renders the leading margin.
Syntax
[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:Android.Text.Style.ILeadingMarginSpanInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public
void DrawLeadingMargin (
Android.Graphics.Canvas c,
Android.Graphics.Paint p,
int x,
int dir,
int top,
int baseline,
int bottom,
Java.Lang.ICharSequence text,
int start,
int end,
bool first,
Android.Text.Layout layout)
Parameters
- c
- the canvas
- p
- the paint. The this should be left unchanged on exit.
- x
- the current position of the margin
- dir
- the base direction of the paragraph; if negative, the margin
is to the right of the text, otherwise it is to the left.
- top
- the top of the line
- baseline
- the baseline of the line
- bottom
- the bottom of the line
- text
- the text
- start
- the start of the line
- end
- the end of the line
- first
- true if this is the first line of its paragraph
- layout
- the layout containing this line
Remarks
Requirements
Namespace: Android.Text.Style
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1