語言

ScaleXSpan 建構函式

定義

多載

名稱 Description
ScaleXSpan(Parcel)

從一個包裹中產生 a ScaleXSpan 。

ScaleXSpan(Single)

根據比例創造一個。ScaleXSpan

ScaleXSpan(IntPtr, JniHandleOwnership)

用於建立 JNI 物件受管理表示的建構器;由執行時呼叫。

ScaleXSpan(Parcel)

從一個包裹中產生 a ScaleXSpan 。

[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

參數

src
Parcel
屬性

備註

從一個包裹中產生 a ScaleXSpan 。

Java 文件 android.text.style.ScaleXSpan.ScaleXSpan(android.os.Parcel)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

ScaleXSpan(Single)

根據比例創造一個。ScaleXSpan

[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

參數

proportion
Single

水平尺度因素。

屬性

備註

根據比例創造一個。ScaleXSpan Values > 1.0 會讓文字被拉得更寬。 Values < 1.0 會讓文字更窄。

Java 文件 android.text.style.ScaleXSpan.ScaleXSpan(float)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

ScaleXSpan(IntPtr, JniHandleOwnership)

用於建立 JNI 物件受管理表示的建構器;由執行時呼叫。

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

參數

javaReference
IntPtr

nativeint

IntPtrA 包含一個 Java 原生介面(JNI)物件參考。

transfer
JniHandleOwnership

JniHandleOwnershipA 指示如何處理javaReference

備註

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於