Share via


IconMarginSpan Constructors

Definition

Overloads

IconMarginSpan(Bitmap)

Creates an IconMarginSpan from a Bitmap.

IconMarginSpan(Bitmap, Int32)

Creates an IconMarginSpan from a Bitmap.

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.

Java documentation for android.text.style.IconMarginSpan.IconMarginSpan(android.graphics.Bitmap, 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

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

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