Language

GraphemeClusterSegmentFinder Constructors

Definition

Overloads

Name Description
GraphemeClusterSegmentFinder(ICharSequence, TextPaint)

Constructs a GraphemeClusterSegmentFinder instance for the specified text which uses the provided TextPaint to determine grapheme cluster boundaries.

GraphemeClusterSegmentFinder(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

GraphemeClusterSegmentFinder(String, TextPaint)

Constructs a GraphemeClusterSegmentFinder instance for the specified text which uses the provided TextPaint to determine grapheme cluster boundaries.

GraphemeClusterSegmentFinder(ICharSequence, TextPaint)

Constructs a GraphemeClusterSegmentFinder instance for the specified text which uses the provided TextPaint to determine grapheme cluster boundaries.

[Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;Landroid/text/TextPaint;)V", "", ApiSince=34)]
public GraphemeClusterSegmentFinder(Java.Lang.ICharSequence text, Android.Text.TextPaint textPaint);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;Landroid/text/TextPaint;)V", "", ApiSince=34)>]
new Android.Text.GraphemeClusterSegmentFinder : Java.Lang.ICharSequence * Android.Text.TextPaint -> Android.Text.GraphemeClusterSegmentFinder

Parameters

text
ICharSequence

text to be segmented

textPaint
TextPaint

TextPaint used to draw the text

Attributes

Remarks

Constructs a GraphemeClusterSegmentFinder instance for the specified text which uses the provided TextPaint to determine grapheme cluster boundaries.

Java documentation for android.text.GraphemeClusterSegmentFinder.GraphemeClusterSegmentFinder(java.lang.CharSequence, android.text.TextPaint).

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

GraphemeClusterSegmentFinder(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

protected GraphemeClusterSegmentFinder(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Text.GraphemeClusterSegmentFinder : nativeint * Android.Runtime.JniHandleOwnership -> Android.Text.GraphemeClusterSegmentFinder

Parameters

javaReference
IntPtr

nativeint

A JNI reference to the Java object.

transfer
JniHandleOwnership

Specifies whether ownership of the JNI reference transfers to this instance.

Remarks

The runtime calls this constructor to create a managed representation of an existing Java object.

Applies to

GraphemeClusterSegmentFinder(String, TextPaint)

Constructs a GraphemeClusterSegmentFinder instance for the specified text which uses the provided TextPaint to determine grapheme cluster boundaries.

[Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;Landroid/text/TextPaint;)V", "", ApiSince=34)]
public GraphemeClusterSegmentFinder(string text, Android.Text.TextPaint textPaint);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;Landroid/text/TextPaint;)V", "", ApiSince=34)>]
new Android.Text.GraphemeClusterSegmentFinder : string * Android.Text.TextPaint -> Android.Text.GraphemeClusterSegmentFinder

Parameters

text
String

text to be segmented. This value cannot be null.

textPaint
TextPaint

TextPaint used to draw the text. This value cannot be null.

Attributes

Remarks

Constructs a GraphemeClusterSegmentFinder instance for the specified text which uses the provided TextPaint to determine grapheme cluster boundaries.

Android reference for android.text.GraphemeClusterSegmentFinder.GraphemeClusterSegmentFinder.

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