Share via


BoringLayout.IsBoring Method

Definition

Overloads

IsBoring(String, TextPaint, ITextDirectionHeuristic, Boolean, BoringLayout+Metrics)
IsBoring(ICharSequence, TextPaint, ITextDirectionHeuristic, Boolean, BoringLayout+Metrics)
IsBoring(String, TextPaint, BoringLayout+Metrics)

Determine and compute metrics if given text can be handled by BoringLayout.

IsBoring(ICharSequence, TextPaint, BoringLayout+Metrics)

Determine and compute metrics if given text can be handled by BoringLayout.

IsBoring(String, TextPaint)

Determine and compute metrics if given text can be handled by BoringLayout.

IsBoring(ICharSequence, TextPaint)

Determine and compute metrics if given text can be handled by BoringLayout.

IsBoring(String, TextPaint, ITextDirectionHeuristic, Boolean, BoringLayout+Metrics)

public static Android.Text.BoringLayout.Metrics? IsBoring (string text, Android.Text.TextPaint paint, Android.Text.ITextDirectionHeuristic textDir, bool useFallbackLineSpacing, Android.Text.BoringLayout.Metrics? metrics);
static member IsBoring : string * Android.Text.TextPaint * Android.Text.ITextDirectionHeuristic * bool * Android.Text.BoringLayout.Metrics -> Android.Text.BoringLayout.Metrics

Parameters

text
String
paint
TextPaint
useFallbackLineSpacing
Boolean

Returns

Applies to

IsBoring(ICharSequence, TextPaint, ITextDirectionHeuristic, Boolean, BoringLayout+Metrics)

[Android.Runtime.Register("isBoring", "(Ljava/lang/CharSequence;Landroid/text/TextPaint;Landroid/text/TextDirectionHeuristic;ZLandroid/text/BoringLayout$Metrics;)Landroid/text/BoringLayout$Metrics;", "", ApiSince=33)]
public static Android.Text.BoringLayout.Metrics? IsBoring (Java.Lang.ICharSequence text, Android.Text.TextPaint paint, Android.Text.ITextDirectionHeuristic textDir, bool useFallbackLineSpacing, Android.Text.BoringLayout.Metrics? metrics);
[<Android.Runtime.Register("isBoring", "(Ljava/lang/CharSequence;Landroid/text/TextPaint;Landroid/text/TextDirectionHeuristic;ZLandroid/text/BoringLayout$Metrics;)Landroid/text/BoringLayout$Metrics;", "", ApiSince=33)>]
static member IsBoring : Java.Lang.ICharSequence * Android.Text.TextPaint * Android.Text.ITextDirectionHeuristic * bool * Android.Text.BoringLayout.Metrics -> Android.Text.BoringLayout.Metrics

Parameters

paint
TextPaint
useFallbackLineSpacing
Boolean

Returns

Attributes

Applies to

IsBoring(String, TextPaint, BoringLayout+Metrics)

Determine and compute metrics if given text can be handled by BoringLayout.

public static Android.Text.BoringLayout.Metrics? IsBoring (string? text, Android.Text.TextPaint? paint, Android.Text.BoringLayout.Metrics? metrics);
static member IsBoring : string * Android.Text.TextPaint * Android.Text.BoringLayout.Metrics -> Android.Text.BoringLayout.Metrics

Parameters

text
String

a text

paint
TextPaint

a paint

Returns

layout metric for the given text. null if given text is unable to be handled by BoringLayout.

Remarks

Java documentation for android.text.BoringLayout.isBoring(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

IsBoring(ICharSequence, TextPaint, BoringLayout+Metrics)

Determine and compute metrics if given text can be handled by BoringLayout.

[Android.Runtime.Register("isBoring", "(Ljava/lang/CharSequence;Landroid/text/TextPaint;Landroid/text/BoringLayout$Metrics;)Landroid/text/BoringLayout$Metrics;", "")]
public static Android.Text.BoringLayout.Metrics? IsBoring (Java.Lang.ICharSequence? text, Android.Text.TextPaint? paint, Android.Text.BoringLayout.Metrics? metrics);
[<Android.Runtime.Register("isBoring", "(Ljava/lang/CharSequence;Landroid/text/TextPaint;Landroid/text/BoringLayout$Metrics;)Landroid/text/BoringLayout$Metrics;", "")>]
static member IsBoring : Java.Lang.ICharSequence * Android.Text.TextPaint * Android.Text.BoringLayout.Metrics -> Android.Text.BoringLayout.Metrics

Parameters

text
ICharSequence

a text

paint
TextPaint

a paint

Returns

layout metric for the given text. null if given text is unable to be handled by BoringLayout.

Attributes

Remarks

Java documentation for android.text.BoringLayout.isBoring(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

IsBoring(String, TextPaint)

Determine and compute metrics if given text can be handled by BoringLayout.

public static Android.Text.BoringLayout.Metrics? IsBoring (string? text, Android.Text.TextPaint? paint);
static member IsBoring : string * Android.Text.TextPaint -> Android.Text.BoringLayout.Metrics

Parameters

text
String

a text

paint
TextPaint

a paint

Returns

layout metric for the given text. null if given text is unable to be handled by BoringLayout.

Remarks

Java documentation for android.text.BoringLayout.isBoring(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

IsBoring(ICharSequence, TextPaint)

Determine and compute metrics if given text can be handled by BoringLayout.

[Android.Runtime.Register("isBoring", "(Ljava/lang/CharSequence;Landroid/text/TextPaint;)Landroid/text/BoringLayout$Metrics;", "")]
public static Android.Text.BoringLayout.Metrics? IsBoring (Java.Lang.ICharSequence? text, Android.Text.TextPaint? paint);
[<Android.Runtime.Register("isBoring", "(Ljava/lang/CharSequence;Landroid/text/TextPaint;)Landroid/text/BoringLayout$Metrics;", "")>]
static member IsBoring : Java.Lang.ICharSequence * Android.Text.TextPaint -> Android.Text.BoringLayout.Metrics

Parameters

text
ICharSequence

a text

paint
TextPaint

a paint

Returns

layout metric for the given text. null if given text is unable to be handled by BoringLayout.

Attributes

Remarks

Java documentation for android.text.BoringLayout.isBoring(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