Udostępnij za pośrednictwem


QuoteSpan Constructors

Definition

Overloads

QuoteSpan()

Creates a QuoteSpan with the default values.

QuoteSpan(Color)

Creates a QuoteSpan based on a color.

QuoteSpan(Parcel)

Create a QuoteSpan from a parcel.

QuoteSpan(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

QuoteSpan(Color, Int32, Int32)

Creates a QuoteSpan based on a color, a stripe width and the width of the gap between the stripe and the text.

QuoteSpan()

Creates a QuoteSpan with the default values.

[Android.Runtime.Register(".ctor", "()V", "")]
public QuoteSpan ();
Attributes

Remarks

Creates a QuoteSpan with the default values.

Java documentation for android.text.style.QuoteSpan.QuoteSpan().

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

QuoteSpan(Color)

Creates a QuoteSpan based on a color.

[Android.Runtime.Register(".ctor", "(I)V", "")]
public QuoteSpan (Android.Graphics.Color color);
[<Android.Runtime.Register(".ctor", "(I)V", "")>]
new Android.Text.Style.QuoteSpan : Android.Graphics.Color -> Android.Text.Style.QuoteSpan

Parameters

color
Color

the color of the quote stripe.

Attributes

Remarks

Creates a QuoteSpan based on a color.

Java documentation for android.text.style.QuoteSpan.QuoteSpan(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

QuoteSpan(Parcel)

Create a QuoteSpan from a parcel.

[Android.Runtime.Register(".ctor", "(Landroid/os/Parcel;)V", "")]
public QuoteSpan (Android.OS.Parcel src);
[<Android.Runtime.Register(".ctor", "(Landroid/os/Parcel;)V", "")>]
new Android.Text.Style.QuoteSpan : Android.OS.Parcel -> Android.Text.Style.QuoteSpan

Parameters

src
Parcel
Attributes

Remarks

Create a QuoteSpan from a parcel.

Java documentation for android.text.style.QuoteSpan.QuoteSpan(android.os.Parcel).

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

QuoteSpan(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

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

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

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

QuoteSpan(Color, Int32, Int32)

Creates a QuoteSpan based on a color, a stripe width and the width of the gap between the stripe and the text.

[Android.Runtime.Register(".ctor", "(III)V", "", ApiSince=28)]
public QuoteSpan (Android.Graphics.Color color, int stripeWidth, int gapWidth);
[<Android.Runtime.Register(".ctor", "(III)V", "", ApiSince=28)>]
new Android.Text.Style.QuoteSpan : Android.Graphics.Color * int * int -> Android.Text.Style.QuoteSpan

Parameters

color
Color

the color of the quote stripe.

stripeWidth
Int32

the width of the stripe.

gapWidth
Int32

the width of the gap between the stripe and the text.

Attributes

Remarks

Creates a QuoteSpan based on a color, a stripe width and the width of the gap between the stripe and the text.

Java documentation for android.text.style.QuoteSpan.QuoteSpan(int, int, 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