Language

Layout.GetLineRight(Int32) Method

Definition

Get the rightmost position that should be exposed for horizontal scrolling on the specified line.

[Android.Runtime.Register("getLineRight", "(I)F", "GetGetLineRight_IHandler")]
public virtual float GetLineRight(int line);
[<Android.Runtime.Register("getLineRight", "(I)F", "GetGetLineRight_IHandler")>]
abstract member GetLineRight : int -> single
override this.GetLineRight : int -> single

Parameters

line
Int32

The zero-based index of the line.

Returns

The rightmost horizontal pixel position to expose when scrolling the line.

Attributes

Remarks

Get the rightmost position that should be exposed for horizontal scrolling on the specified line.

Java documentation for android.text.Layout.getLineRight(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