StaticLayout.Builder.Obtain Method

Definition

Overloads

Obtain(ICharSequence, Int32, Int32, TextPaint, Int32)
Obtain(String, Int32, Int32, TextPaint, Int32)

Obtain(ICharSequence, Int32, Int32, TextPaint, Int32)

[Android.Runtime.Register("obtain", "(Ljava/lang/CharSequence;IILandroid/text/TextPaint;I)Landroid/text/StaticLayout$Builder;", "", ApiSince=23)]
public static Android.Text.StaticLayout.Builder Obtain (Java.Lang.ICharSequence source, int start, int end, Android.Text.TextPaint paint, int width);
[<Android.Runtime.Register("obtain", "(Ljava/lang/CharSequence;IILandroid/text/TextPaint;I)Landroid/text/StaticLayout$Builder;", "", ApiSince=23)>]
static member Obtain : Java.Lang.ICharSequence * int * int * Android.Text.TextPaint * int -> Android.Text.StaticLayout.Builder

Parameters

source
ICharSequence
start
Int32
end
Int32
paint
TextPaint
width
Int32

Returns

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

Obtain(String, Int32, Int32, TextPaint, Int32)

public static Android.Text.StaticLayout.Builder Obtain (string source, int start, int end, Android.Text.TextPaint paint, int width);
static member Obtain : string * int * int * Android.Text.TextPaint * int -> Android.Text.StaticLayout.Builder

Parameters

source
String
start
Int32
end
Int32
paint
TextPaint
width
Int32

Returns

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