共用方式為


Bidi.GetLogicalRun(Int32) Method

Definition

Get a logical run.

[Android.Runtime.Register("getLogicalRun", "(I)Landroid/icu/text/BidiRun;", "GetGetLogicalRun_IHandler", ApiSince=29)]
public virtual Android.Icu.Text.BidiRun? GetLogicalRun (int logicalPosition);
[<Android.Runtime.Register("getLogicalRun", "(I)Landroid/icu/text/BidiRun;", "GetGetLogicalRun_IHandler", ApiSince=29)>]
abstract member GetLogicalRun : int -> Android.Icu.Text.BidiRun
override this.GetLogicalRun : int -> Android.Icu.Text.BidiRun

Parameters

logicalPosition
Int32

is a logical position within the source text.

Returns

a BidiRun object filled with start containing the first character of the run, limit containing the limit of the run, and embeddingLevel containing the level of the run.

Attributes

Remarks

Get a logical run. This method returns information about a run and is used to retrieve runs in logical order.

This is especially useful for line-breaking on a paragraph.

Java documentation for android.icu.text.Bidi.getLogicalRun(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