Język

BulletSpan.GetLeadingMargin(Boolean) Method

Definition

Returns the amount by which to adjust the leading margin.

[Android.Runtime.Register("getLeadingMargin", "(Z)I", "GetGetLeadingMargin_ZHandler")]
public virtual int GetLeadingMargin(bool first);
[<Android.Runtime.Register("getLeadingMargin", "(Z)I", "GetGetLeadingMargin_ZHandler")>]
abstract member GetLeadingMargin : bool -> int
override this.GetLeadingMargin : bool -> int

Parameters

first
Boolean

true if the request is for the first line of a paragraph, false for subsequent lines

Returns

the offset for the margin.

Implements

Attributes

Remarks

Returns the amount by which to adjust the leading margin. Positive values move away from the leading edge of the paragraph, negative values move towards it.

Android reference for android.text.style.BulletSpan.getLeadingMargin.

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