IconMarginSpan 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
IconMarginSpan(Bitmap) |
Creates an |
IconMarginSpan(Bitmap, Int32) |
Creates an |
IconMarginSpan(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
IconMarginSpan(Bitmap)
Creates an IconMarginSpan
from a Bitmap
.
[Android.Runtime.Register(".ctor", "(Landroid/graphics/Bitmap;)V", "")]
public IconMarginSpan (Android.Graphics.Bitmap bitmap);
[<Android.Runtime.Register(".ctor", "(Landroid/graphics/Bitmap;)V", "")>]
new Android.Text.Style.IconMarginSpan : Android.Graphics.Bitmap -> Android.Text.Style.IconMarginSpan
Parameters
- bitmap
- Bitmap
bitmap to be rendered at the beginning of the text
- Attributes
Remarks
Creates an IconMarginSpan
from a Bitmap
.
Java documentation for android.text.style.IconMarginSpan.IconMarginSpan(android.graphics.Bitmap)
.
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
IconMarginSpan(Bitmap, Int32)
Creates an IconMarginSpan
from a Bitmap
.
[Android.Runtime.Register(".ctor", "(Landroid/graphics/Bitmap;I)V", "")]
public IconMarginSpan (Android.Graphics.Bitmap bitmap, int pad);
[<Android.Runtime.Register(".ctor", "(Landroid/graphics/Bitmap;I)V", "")>]
new Android.Text.Style.IconMarginSpan : Android.Graphics.Bitmap * int -> Android.Text.Style.IconMarginSpan
Parameters
- bitmap
- Bitmap
bitmap to be rendered at the beginning of the text
- pad
- Int32
padding width, in pixels, between the bitmap and the text
- Attributes
Remarks
Creates an IconMarginSpan
from a Bitmap
.
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
IconMarginSpan(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected IconMarginSpan (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Text.Style.IconMarginSpan : nativeint * Android.Runtime.JniHandleOwnership -> Android.Text.Style.IconMarginSpan
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.