語言

AssistStructure.ViewNode.TextSize 屬性

定義

如果 #getText() 非空,則為其主要文字大小(以像素計)。

public virtual float TextSize { [Android.Runtime.Register("getTextSize", "()F", "GetGetTextSizeHandler", ApiSince=23)] get; }
[<get: Android.Runtime.Register("getTextSize", "()F", "GetGetTextSizeHandler", ApiSince=23)>]
member this.TextSize : single

屬性值

屬性

備註

如果 #getText() 非空,則為其主要文字大小(以像素計)。 請注意,文字中也可能包含樣式跨度,會修改特定文字部分的大小。

它只在輔助用途時才有意義 AssistStructure ,不適合自動填充。

Java 文件 android.app.assist.AssistStructure.ViewNode.getTextSize()。

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

適用於