Udostępnij za pośrednictwem


LineBreaker.Result.GetLineWidth(Int32) Method

Definition

Returns width of a given line in pixels.

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

Parameters

lineIndex
Int32

an index of the line.

Returns

width of the line in pixels

Attributes

Remarks

Returns width of a given line in pixels.

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