ScaleXSpan 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
ScaleXSpan(Parcel) |
Creates a |
ScaleXSpan(Single) |
Creates a |
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
- 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.