TextShaper.ShapeText Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ShapeText(ICharSequence, Int32, Int32, ITextDirectionHeuristic, TextPaint, TextShaper+IGlyphsConsumer) |
Shape multi-styled text. |
ShapeText(String, Int32, Int32, ITextDirectionHeuristic, TextPaint, TextShaper+IGlyphsConsumer) |
Shape multi-styled text. |
ShapeText(ICharSequence, Int32, Int32, ITextDirectionHeuristic, TextPaint, TextShaper+IGlyphsConsumer)
Shape multi-styled text.
[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
Parameters
- text
- ICharSequence
a styled text.
- start
- Int32
a start index of shaping target in the text.
- count
- Int32
a length of shaping target in the text.
a text direction.
- paint
- TextPaint
a paint
- consumer
- TextShaper.IGlyphsConsumer
a consumer of the shape result.
- Attributes
Remarks
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
ShapeText(String, Int32, Int32, ITextDirectionHeuristic, TextPaint, TextShaper+IGlyphsConsumer)
Shape multi-styled text.
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
Parameters
- text
- String
a styled text.
- start
- Int32
a start index of shaping target in the text.
- count
- Int32
a length of shaping target in the text.
a text direction.
- paint
- TextPaint
a paint
- consumer
- TextShaper.IGlyphsConsumer
a consumer of the shape result.
Remarks
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.