LineBreaker.ComputeLineBreaks 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將段落分成幾行。
[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
參數
- measuredPara
- MeasuredText
文字測量的結果
- constraints
- LineBreaker.ParagraphConstraints
單一段落
- lineNumber
- Int32
此段落的行號
傳回
- 屬性
備註
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。