Condividi tramite


LineBreaker.ComputeLineBreaks Metodo

Definizione

Suddividere il paragrafo in righe.

[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

Parametri

measuredPara
MeasuredText

risultato della misurazione del testo

constraints
LineBreaker.ParagraphConstraints

per un singolo paragrafo

lineNumber
Int32

numero di riga di questo paragrafo

Restituisce

Attributi

Commenti

Documentazione java per android.graphics.text.LineBreaker.computeLineBreaks(android.graphics.text.MeasuredText, android.graphics.text.ParagraphConstraints, int).

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dal progetto Open Source Android e usato in base ai termini descritti nella licenza Creative Commons 2.5 Attribuzione.

Si applica a