TextShaper.ShapeText Method

Definition

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.

dir
ITextDirectionHeuristic

a text direction.

paint
TextPaint

a paint

consumer
TextShaper.IGlyphsConsumer

a consumer of the shape result.

Attributes

Remarks

Java documentation for android.text.TextShaper.shapeText(java.lang.CharSequence, int, int, android.text.TextDirectionHeuristic, android.text.TextPaint, android.text.GlyphsConsumer).

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.

dir
ITextDirectionHeuristic

a text direction.

paint
TextPaint

a paint

consumer
TextShaper.IGlyphsConsumer

a consumer of the shape result.

Remarks

Java documentation for android.text.TextShaper.shapeText(java.lang.CharSequence, int, int, android.text.TextDirectionHeuristic, android.text.TextPaint, android.text.GlyphsConsumer).

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