共用方式為


Layout.GetEllipsisStart(Int32) Method

Definition

Return the offset of the first character to be ellipsized away, relative to the start of the line.

[Android.Runtime.Register("getEllipsisStart", "(I)I", "GetGetEllipsisStart_IHandler")]
public abstract int GetEllipsisStart (int line);
[<Android.Runtime.Register("getEllipsisStart", "(I)I", "GetGetEllipsisStart_IHandler")>]
abstract member GetEllipsisStart : int -> int

Parameters

line
Int32

Returns

Attributes

Remarks

Return the offset of the first character to be ellipsized away, relative to the start of the line. (So 0 if the beginning of the line is ellipsized, not getLineStart().)

Java documentation for android.text.Layout.getEllipsisStart(int).

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