Android.Text.BoringLayout Members

The members of Android.Text.BoringLayout are listed below.

See Also: Inherited members from Android.Text.Layout

Public Constructors

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Properties

[read-only]
override
BottomPaddingint. Returns the number of extra pixels of descent padding in the bottom line of the Layout.
[read-only]
override
LineCountint. Return the number of lines of text in this layout.
[read-only]
override
TopPaddingint. Returns the (negative) number of extra pixels of ascent padding in the top line of the Layout.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

Ellipsized(int, int)
Callback for the ellipsizer to report what region it ellipsized.
override
GetEllipsisCount(int) : int
Returns the number of characters to be ellipsized away, or 0 if no ellipsis is to take place.
override
GetEllipsisStart(int) : int
Return the offset of the first character to be ellipsized away, relative to the start of the line.
override
GetLineContainsTab(int) : bool
Returns whether the specified line contains one or more characters that need to be handled specially, like tabs or emoji.
override
GetLineDescent(int) : int
Return the descent of the specified line(0…getLineCount() - 1).
override
GetLineDirections(int) : Layout.Directions
Returns the directional run information for the specified line.
override
GetLineStart(int) : int
Return the text offset of the beginning of the specified line ( 0…getLineCount()).
override
GetLineTop(int) : int
Return the vertical position of the top of the specified line (0…getLineCount()).
override
GetParagraphDirection(int) : TextLayoutDirection
Returns the primary directionality of the paragraph containing the specified line, either 1 for left-to-right lines, or -1 for right-to-left lines (see Layout.DIR_LEFT_TO_RIGHT, Layout.DIR_RIGHT_TO_LEFT).
static
IsBoring(Java.Lang.ICharSequence, TextPaint) : BoringLayout.Metrics
Returns null if not boring; the width, ascent, and descent if boring.
static
IsBoring(string, TextPaint) : BoringLayout.Metrics
Documentation for this section has not yet been entered.
static
IsBoring(Java.Lang.ICharSequence, TextPaint, BoringLayout.Metrics) : BoringLayout.Metrics
Returns null if not boring; the width, ascent, and descent in the provided Metrics object (or a new one if the provided one was null) if boring.
static
IsBoring(string, TextPaint, BoringLayout.Metrics) : BoringLayout.Metrics
Documentation for this section has not yet been entered.
static
Make(Java.Lang.ICharSequence, TextPaint, int, Layout.Alignment, float, float, BoringLayout.Metrics, bool, TextUtils.TruncateAt, int) : BoringLayout
static
Make(string, TextPaint, int, Layout.Alignment, float, float, BoringLayout.Metrics, bool, TextUtils.TruncateAt, int) : BoringLayout
Documentation for this section has not yet been entered.
static
Make(Java.Lang.ICharSequence, TextPaint, int, Layout.Alignment, float, float, BoringLayout.Metrics, bool) : BoringLayout
static
Make(string, TextPaint, int, Layout.Alignment, float, float, BoringLayout.Metrics, bool) : BoringLayout
Documentation for this section has not yet been entered.
ReplaceOrMake(Java.Lang.ICharSequence, TextPaint, int, Layout.Alignment, float, float, BoringLayout.Metrics, bool, TextUtils.TruncateAt, int) : BoringLayout
Returns a BoringLayout for the specified text, potentially reusing this one if it is already suitable.
ReplaceOrMake(string, TextPaint, int, Layout.Alignment, float, float, BoringLayout.Metrics, bool, TextUtils.TruncateAt, int) : BoringLayout
Documentation for this section has not yet been entered.
ReplaceOrMake(Java.Lang.ICharSequence, TextPaint, int, Layout.Alignment, float, float, BoringLayout.Metrics, bool) : BoringLayout
Returns a BoringLayout for the specified text, potentially reusing this one if it is already suitable.
ReplaceOrMake(string, TextPaint, int, Layout.Alignment, float, float, BoringLayout.Metrics, bool) : BoringLayout
Documentation for this section has not yet been entered.