AttributedString Construtores

Definição

Sobrecargas

Nome Description
AttributedString(IAttributedCharacterIterator)

Constrói uma instância AttributedString com o texto atribuído fornecido representado por AttributedCharacterIterator.

AttributedString(String)

Constrói uma instância AttributedString com o texto especificado.

AttributedString(IntPtr, JniHandleOwnership)

Um construtor usado ao criar representações gerenciadas de objetos JNI; chamado pelo runtime.

AttributedString(String, IDictionary<AttributedCharacterIteratorAttribute,Object>)

Constrói uma instância AttributedString com o texto e os atributos especificados.

AttributedString(IAttributedCharacterIterator, Int32, Int32)

Constrói uma instância AttributedString com o subconjunto do texto atribuído fornecido representado por AttributedCharacterIterator.

AttributedString(IAttributedCharacterIterator, Int32, Int32, AttributedCharacterIteratorAttribute[])

Constrói uma instância AttributedString com o texto especificado.

AttributedString(IAttributedCharacterIterator)

Constrói uma instância AttributedString com o texto atribuído fornecido representado por AttributedCharacterIterator.

[Android.Runtime.Register(".ctor", "(Ljava/text/AttributedCharacterIterator;)V", "")]
public AttributedString(Java.Text.IAttributedCharacterIterator? text);
[<Android.Runtime.Register(".ctor", "(Ljava/text/AttributedCharacterIterator;)V", "")>]
new Java.Text.AttributedString : Java.Text.IAttributedCharacterIterator -> Java.Text.AttributedString

Parâmetros

text
IAttributedCharacterIterator

O texto dessa cadeia de caracteres atribuída.

Atributos

Comentários

Java documentação para java.text.AttributedString.AttributedString(java.text.AttributedCharacterIterator).

Partes desta página são modificações baseadas no trabalho criado e compartilhado pelo Project Open Source do Open Source e usadas de acordo com os termos descritos na Creative Commons 2.5.

Aplica-se a

AttributedString(String)

Constrói uma instância AttributedString com o texto especificado.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public AttributedString(string? text);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Java.Text.AttributedString : string -> Java.Text.AttributedString

Parâmetros

text
String

O texto dessa cadeia de caracteres atribuída.

Atributos

Comentários

Java documentação para java.text.AttributedString.AttributedString(java.lang.String).

Partes desta página são modificações baseadas no trabalho criado e compartilhado pelo Project Open Source do Open Source e usadas de acordo com os termos descritos na Creative Commons 2.5.

Aplica-se a

AttributedString(IntPtr, JniHandleOwnership)

Um construtor usado ao criar representações gerenciadas de objetos JNI; chamado pelo runtime.

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

Parâmetros

javaReference
IntPtr

nativeint

Uma IntPtrreferência de objeto JNI (Java Native Interface).

transfer
JniHandleOwnership

Um JniHandleOwnershipque indica como lidar javaReference

Comentários

Partes desta página são modificações baseadas no trabalho criado e compartilhado pelo Project Open Source do Open Source e usadas de acordo com os termos descritos na Creative Commons 2.5.

Aplica-se a

AttributedString(String, IDictionary<AttributedCharacterIteratorAttribute,Object>)

Constrói uma instância AttributedString com o texto e os atributos especificados.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/util/Map;)V", "")]
public AttributedString(string? text, System.Collections.Generic.IDictionary<Java.Text.AttributedCharacterIteratorAttribute,object>? attributes);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/util/Map;)V", "")>]
new Java.Text.AttributedString : string * System.Collections.Generic.IDictionary<Java.Text.AttributedCharacterIteratorAttribute, obj> -> Java.Text.AttributedString

Parâmetros

text
String

O texto dessa cadeia de caracteres atribuída.

attributes
IDictionary<AttributedCharacterIteratorAttribute,Object>

Os atributos que se aplicam a toda a cadeia de caracteres.

Atributos

Comentários

Java documentação para java.text.AttributedString.AttributedString(java.lang.String, java.util.Map<? extends java.text.AttributedCharacterIterator.Attribute, ?>).

Partes desta página são modificações baseadas no trabalho criado e compartilhado pelo Project Open Source do Open Source e usadas de acordo com os termos descritos na Creative Commons 2.5.

Aplica-se a

AttributedString(IAttributedCharacterIterator, Int32, Int32)

Constrói uma instância AttributedString com o subconjunto do texto atribuído fornecido representado por AttributedCharacterIterator.

[Android.Runtime.Register(".ctor", "(Ljava/text/AttributedCharacterIterator;II)V", "")]
public AttributedString(Java.Text.IAttributedCharacterIterator? text, int beginIndex, int endIndex);
[<Android.Runtime.Register(".ctor", "(Ljava/text/AttributedCharacterIterator;II)V", "")>]
new Java.Text.AttributedString : Java.Text.IAttributedCharacterIterator * int * int -> Java.Text.AttributedString

Parâmetros

text
IAttributedCharacterIterator

O texto dessa cadeia de caracteres atribuída.

beginIndex
Int32

Índice do primeiro caractere do intervalo.

endIndex
Int32

Índice do caractere seguindo o último caractere do intervalo.

Atributos

Exceções

se start for menor que o primeiro índice de iterator, end será maior que o último índice + 1 dentro iterator ou se start > end.

Comentários

Java documentação para java.text.AttributedString.AttributedString(java.text.AttributedCharacterIterator, int, int).

Partes desta página são modificações baseadas no trabalho criado e compartilhado pelo Project Open Source do Open Source e usadas de acordo com os termos descritos na Creative Commons 2.5.

Aplica-se a

AttributedString(IAttributedCharacterIterator, Int32, Int32, AttributedCharacterIteratorAttribute[])

Constrói uma instância AttributedString com o texto especificado.

[Android.Runtime.Register(".ctor", "(Ljava/text/AttributedCharacterIterator;II[Ljava/text/AttributedCharacterIterator$Attribute;)V", "")]
public AttributedString(Java.Text.IAttributedCharacterIterator? text, int beginIndex, int endIndex, Java.Text.AttributedCharacterIteratorAttribute[]? attributes);
[<Android.Runtime.Register(".ctor", "(Ljava/text/AttributedCharacterIterator;II[Ljava/text/AttributedCharacterIterator$Attribute;)V", "")>]
new Java.Text.AttributedString : Java.Text.IAttributedCharacterIterator * int * int * Java.Text.AttributedCharacterIteratorAttribute[] -> Java.Text.AttributedString

Parâmetros

text
IAttributedCharacterIterator

O texto dessa cadeia de caracteres atribuída.

beginIndex
Int32
endIndex
Int32
Atributos

Exceções

se start for menor que o primeiro índice de iterator, end será maior que o último índice + 1 dentro iterator ou se start > end.

Comentários

Java documentação para java.text.AttributedString.AttributedString(java.lang.String).

Partes desta página são modificações baseadas no trabalho criado e compartilhado pelo Project Open Source do Open Source e usadas de acordo com os termos descritos na Creative Commons 2.5.

Aplica-se a