RelativeSizeSpan 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
| RelativeSizeSpan(Parcel) |
Creates a |
| RelativeSizeSpan(Single) |
Creates a |
| RelativeSizeSpan(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
RelativeSizeSpan(Parcel)
Creates a RelativeSizeSpan from a parcel.
[Android.Runtime.Register(".ctor", "(Landroid/os/Parcel;)V", "")]
public RelativeSizeSpan(Android.OS.Parcel src);
[<Android.Runtime.Register(".ctor", "(Landroid/os/Parcel;)V", "")>]
new Android.Text.Style.RelativeSizeSpan : Android.OS.Parcel -> Android.Text.Style.RelativeSizeSpan
Parameters
- src
- Parcel
- Attributes
Remarks
Creates a RelativeSizeSpan from a parcel.
Java documentation for android.text.style.RelativeSizeSpan.RelativeSizeSpan(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
RelativeSizeSpan(Single)
Creates a RelativeSizeSpan based on a proportion.
[Android.Runtime.Register(".ctor", "(F)V", "")]
public RelativeSizeSpan(float proportion);
[<Android.Runtime.Register(".ctor", "(F)V", "")>]
new Android.Text.Style.RelativeSizeSpan : single -> Android.Text.Style.RelativeSizeSpan
Parameters
- proportion
- Single
the proportion with which the text is scaled.
- Attributes
Remarks
Creates a RelativeSizeSpan based on a proportion.
Java documentation for android.text.style.RelativeSizeSpan.RelativeSizeSpan(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
RelativeSizeSpan(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected RelativeSizeSpan(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Text.Style.RelativeSizeSpan : nativeint * Android.Runtime.JniHandleOwnership -> Android.Text.Style.RelativeSizeSpan
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.