Freigeben über


Layout.Builder Constructors

Definition

Overloads

Layout.Builder(ICharSequence, Int32, Int32, TextPaint, Int32)

Construct a builder class.

Layout.Builder(String, Int32, Int32, TextPaint, Int32)

Layout.Builder(ICharSequence, Int32, Int32, TextPaint, Int32)

Construct a builder class.

[Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;IILandroid/text/TextPaint;I)V", "", ApiSince=35)]
public Builder (Java.Lang.ICharSequence text, int start, int end, Android.Text.TextPaint paint, int width);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;IILandroid/text/TextPaint;I)V", "", ApiSince=35)>]
new Android.Text.Layout.Builder : Java.Lang.ICharSequence * int * int * Android.Text.TextPaint * int -> Android.Text.Layout.Builder

Parameters

text
ICharSequence

a text to be displayed.

start
Int32

an inclusive start index of the text to be displayed.

end
Int32

an exclusive end index of the text to be displayed.

paint
TextPaint

a paint object to be used for drawing text.

width
Int32

a width constraint in pixels.

Attributes

Remarks

Construct a builder class.

Java documentation for android.text.Layout.Builder.Layout$Builder(java.lang.CharSequence, int, int, android.text.TextPaint, int).

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

Layout.Builder(String, Int32, Int32, TextPaint, Int32)

[Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;IILandroid/text/TextPaint;I)V", "", ApiSince=35)]
public Builder (string text, int start, int end, Android.Text.TextPaint paint, int width);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;IILandroid/text/TextPaint;I)V", "", ApiSince=35)>]
new Android.Text.Layout.Builder : string * int * int * Android.Text.TextPaint * int -> Android.Text.Layout.Builder

Parameters

text
String
start
Int32
end
Int32
paint
TextPaint
width
Int32
Attributes

Applies to