다음을 통해 공유


RelativeSizeSpan Constructors

Definition

Overloads

RelativeSizeSpan(Parcel)

Creates a RelativeSizeSpan from a parcel.

RelativeSizeSpan(Single)

Creates a RelativeSizeSpan based on a proportion.

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

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