ScaleXSpan Constructors

Definition

Overloads

ScaleXSpan(Parcel)

Creates a ScaleXSpan from a parcel.

ScaleXSpan(Single)

Creates a ScaleXSpan based on a proportion.

ScaleXSpan(IntPtr, JniHandleOwnership)

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

ScaleXSpan(Parcel)

Creates a ScaleXSpan from a parcel.

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

Parameters

src
Parcel
Attributes

Remarks

Creates a ScaleXSpan from a parcel.

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

ScaleXSpan(Single)

Creates a ScaleXSpan based on a proportion.

[Android.Runtime.Register(".ctor", "(F)V", "")]
public ScaleXSpan (float proportion);
[<Android.Runtime.Register(".ctor", "(F)V", "")>]
new Android.Text.Style.ScaleXSpan : single -> Android.Text.Style.ScaleXSpan

Parameters

proportion
Single

the horizontal scale factor.

Attributes

Remarks

Creates a ScaleXSpan based on a proportion. Values > 1.0 will stretch the text wider. Values < 1.0 will stretch the text narrower.

Java documentation for android.text.style.ScaleXSpan.ScaleXSpan(float).

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

ScaleXSpan(IntPtr, JniHandleOwnership)

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

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

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