Compartir a través de


BackgroundColorSpan Constructors

Definition

Overloads

BackgroundColorSpan(Color)

Creates a BackgroundColorSpan from a color integer.

BackgroundColorSpan(Parcel)

Creates a BackgroundColorSpan from a parcel.

BackgroundColorSpan(IntPtr, JniHandleOwnership)

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

BackgroundColorSpan(Color)

Creates a BackgroundColorSpan from a color integer.

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

Parameters

color
Color

color integer that defines the background color

Attributes

Remarks

Creates a BackgroundColorSpan from a color integer.

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

BackgroundColorSpan(Parcel)

Creates a BackgroundColorSpan from a parcel.

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

Parameters

src
Parcel
Attributes

Remarks

Creates a BackgroundColorSpan from a parcel.

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

BackgroundColorSpan(IntPtr, JniHandleOwnership)

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

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

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