Freigeben über


LineBreaker.Result.GetLineAscent(Int32) Method

Definition

Returns font ascent of the line in pixels.

[Android.Runtime.Register("getLineAscent", "(I)F", "GetGetLineAscent_IHandler", ApiSince=29)]
public virtual float GetLineAscent (int lineIndex);
[<Android.Runtime.Register("getLineAscent", "(I)F", "GetGetLineAscent_IHandler", ApiSince=29)>]
abstract member GetLineAscent : int -> single
override this.GetLineAscent : int -> single

Parameters

lineIndex
Int32

an index of the line.

Returns

an entier font ascent of the line in pixels.

Attributes

Remarks

Returns font ascent of the line in pixels.

Java documentation for android.graphics.text.LineBreaker.Result.getLineAscent(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