Android.Text.Style.BulletSpan.DrawLeadingMargin Method
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")]
public virtual 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 l)

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
l
the layout containing this line

Remarks

Renders the leading margin. This is called before the margin has been adjusted by the value returned by ILeadingMarginSpan.GetLeadingMargin(bool).

[Android Documentation]

Requirements

Namespace: Android.Text.Style
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1