接口 IFontOption
public interface IFontOption
Font option
-
方法概要
修饰符和类型方法说明A string that represents the label text fontFamily.int
A string that represents the label text fontSize.A string that represents the label text fontStyle.A string that represents the label text fontTextAlign.A string that represents the label text fontTextDecoration.A string that represents the label text fontWeight.
-
方法详细资料
-
getFontFamily
String getFontFamily()A string that represents the label text fontFamily. The default value is 'sans-serif'. -
getFontStyle
String getFontStyle()A string that represents the label text fontStyle. The default value is 'normal'. -
getFontWeight
String getFontWeight()A string that represents the label text fontWeight. The default value is 'normal'. -
getFontTextDecoration
String getFontTextDecoration()A string that represents the label text fontTextDecoration. The default value is 'none'. -
getFontTextAlign
String getFontTextAlign()A string that represents the label text fontTextAlign. The default value is 'center'. -
getFontSize
int getFontSize()A string that represents the label text fontSize. The default value is '12px'.
-