Share via


LineBreaker.ComputeLineBreaks Method

Definition

Break paragraph into lines.

[Android.Runtime.Register("computeLineBreaks", "(Landroid/graphics/text/MeasuredText;Landroid/graphics/text/LineBreaker$ParagraphConstraints;I)Landroid/graphics/text/LineBreaker$Result;", "GetComputeLineBreaks_Landroid_graphics_text_MeasuredText_Landroid_graphics_text_LineBreaker_ParagraphConstraints_IHandler", ApiSince=29)]
public virtual Android.Graphics.Text.LineBreaker.Result ComputeLineBreaks (Android.Graphics.Text.MeasuredText measuredPara, Android.Graphics.Text.LineBreaker.ParagraphConstraints constraints, int lineNumber);
[<Android.Runtime.Register("computeLineBreaks", "(Landroid/graphics/text/MeasuredText;Landroid/graphics/text/LineBreaker$ParagraphConstraints;I)Landroid/graphics/text/LineBreaker$Result;", "GetComputeLineBreaks_Landroid_graphics_text_MeasuredText_Landroid_graphics_text_LineBreaker_ParagraphConstraints_IHandler", ApiSince=29)>]
abstract member ComputeLineBreaks : Android.Graphics.Text.MeasuredText * Android.Graphics.Text.LineBreaker.ParagraphConstraints * int -> Android.Graphics.Text.LineBreaker.Result
override this.ComputeLineBreaks : Android.Graphics.Text.MeasuredText * Android.Graphics.Text.LineBreaker.ParagraphConstraints * int -> Android.Graphics.Text.LineBreaker.Result

Parameters

measuredPara
MeasuredText

a result of the text measurement

constraints
LineBreaker.ParagraphConstraints

for a single paragraph

lineNumber
Int32

a line number of this paragraph

Returns

Attributes

Remarks

Java documentation for android.graphics.text.LineBreaker.computeLineBreaks(android.graphics.text.MeasuredText, android.graphics.text.ParagraphConstraints, 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