BackgroundColorSpan Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
BackgroundColorSpan(Color) |
Creates a |
BackgroundColorSpan(Parcel) |
Creates a |
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.
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
- 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.