Share via


AbsoluteSizeSpan Constructors

Definition

Overloads

AbsoluteSizeSpan(Parcel)

Creates an AbsoluteSizeSpan from a parcel.

AbsoluteSizeSpan(Int32)

Set the text size to size physical pixels.

AbsoluteSizeSpan(Int32, Boolean)

Set the text size to size physical pixels, or to size device-independent pixels if dip is true.

AbsoluteSizeSpan(IntPtr, JniHandleOwnership)

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

AbsoluteSizeSpan(Parcel)

Creates an AbsoluteSizeSpan from a parcel.

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

Parameters

src
Parcel
Attributes

Remarks

Creates an AbsoluteSizeSpan from a parcel.

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

AbsoluteSizeSpan(Int32)

Set the text size to size physical pixels.

[Android.Runtime.Register(".ctor", "(I)V", "")]
public AbsoluteSizeSpan (int size);
[<Android.Runtime.Register(".ctor", "(I)V", "")>]
new Android.Text.Style.AbsoluteSizeSpan : int -> Android.Text.Style.AbsoluteSizeSpan

Parameters

size
Int32
Attributes

Remarks

Set the text size to size physical pixels.

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

AbsoluteSizeSpan(Int32, Boolean)

Set the text size to size physical pixels, or to size device-independent pixels if dip is true.

[Android.Runtime.Register(".ctor", "(IZ)V", "")]
public AbsoluteSizeSpan (int size, bool dip);
[<Android.Runtime.Register(".ctor", "(IZ)V", "")>]
new Android.Text.Style.AbsoluteSizeSpan : int * bool -> Android.Text.Style.AbsoluteSizeSpan

Parameters

size
Int32
dip
Boolean
Attributes

Remarks

Set the text size to size physical pixels, or to size device-independent pixels if dip is true.

Java documentation for android.text.style.AbsoluteSizeSpan.AbsoluteSizeSpan(int, boolean).

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

AbsoluteSizeSpan(IntPtr, JniHandleOwnership)

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

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

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