Läs på engelska

Dela via


LineBreaker.Result.GetLineWidth(Int32) Method

Definition

Returns width of a given line in pixels.

C#
[Android.Runtime.Register("getLineWidth", "(I)F", "GetGetLineWidth_IHandler", ApiSince=29)]
public virtual float GetLineWidth (int lineIndex);

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

Produkt Versioner
.NET for Android .NET for Android API 34, .NET for Android API 35