TextShaper.ShapeText 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
ShapeText(ICharSequence, Int32, Int32, ITextDirectionHeuristic, TextPaint, TextShaper+IGlyphsConsumer)
多樣式文字形狀。
[Android.Runtime.Register("shapeText", "(Ljava/lang/CharSequence;IILandroid/text/TextDirectionHeuristic;Landroid/text/TextPaint;Landroid/text/TextShaper$GlyphsConsumer;)V", "", ApiSince=31)]
public static void ShapeText(Java.Lang.ICharSequence text, int start, int count, Android.Text.ITextDirectionHeuristic dir, Android.Text.TextPaint paint, Android.Text.TextShaper.IGlyphsConsumer consumer);
[<Android.Runtime.Register("shapeText", "(Ljava/lang/CharSequence;IILandroid/text/TextDirectionHeuristic;Landroid/text/TextPaint;Landroid/text/TextShaper$GlyphsConsumer;)V", "", ApiSince=31)>]
static member ShapeText : Java.Lang.ICharSequence * int * int * Android.Text.ITextDirectionHeuristic * Android.Text.TextPaint * Android.Text.TextShaper.IGlyphsConsumer -> unit
參數
- text
- ICharSequence
一個有風格的文字。
- start
- Int32
文本中形成目標的起始索引。
- count
- Int32
文字中一段塑造目標。
一個簡訊指示。
- paint
- TextPaint
一種油漆
- consumer
- TextShaper.IGlyphsConsumer
形狀的消費者會因此產生。
- 屬性
備註
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。
適用於
ShapeText(String, Int32, Int32, ITextDirectionHeuristic, TextPaint, TextShaper+IGlyphsConsumer)
多樣式文字形狀。
public static void ShapeText(string text, int start, int count, Android.Text.ITextDirectionHeuristic dir, Android.Text.TextPaint paint, Android.Text.TextShaper.IGlyphsConsumer consumer);
static member ShapeText : string * int * int * Android.Text.ITextDirectionHeuristic * Android.Text.TextPaint * Android.Text.TextShaper.IGlyphsConsumer -> unit
參數
- text
- String
一個有風格的文字。
- start
- Int32
文本中形成目標的起始索引。
- count
- Int32
文字中一段塑造目標。
一個簡訊指示。
- paint
- TextPaint
一種油漆
- consumer
- TextShaper.IGlyphsConsumer
形狀的消費者會因此產生。
備註
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。