| 包 | flash.text |
| 类 | public final class FontStyle |
| 继承 | FontStyle Object |
| 语言版本: | ActionScript 3.0 |
| 运行时版本: | AIR 1.0, Flash Player 9 |
相关 API 元素
公共常量
| 常量 | 由以下参数定义 | ||
|---|---|---|---|
| BOLD : String = "bold" [静态]
为 setAdvancedAntiAliasingTable() 方法中的 fontStyle 参数定义粗体样式的字体。 | FontStyle | ||
| BOLD_ITALIC : String = "boldItalic" [静态]
为 setAdvancedAntiAliasingTable() 方法中的 fontStyle 参数定义粗体和斜体样式的字体。 | FontStyle | ||
| ITALIC : String = "italic" [静态]
为 setAdvancedAntiAliasingTable() 方法中的 fontStyle 参数定义斜体样式的字体。 | FontStyle | ||
| REGULAR : String = "regular" [静态]
为 setAdvancedAntiAliasingTable() 方法中的 fontStyle 参数定义不带样式的字体。 | FontStyle | ||
常量详细信息
BOLD | 常量 |
public static const BOLD:String = "bold"| 语言版本: | ActionScript 3.0 |
| 运行时版本: | AIR 1.0, Flash Player 9 |
为 setAdvancedAntiAliasingTable() 方法中的 fontStyle 参数定义粗体样式的字体。使用语法 FontStyle.BOLD。
相关 API 元素
BOLD_ITALIC | 常量 |
public static const BOLD_ITALIC:String = "boldItalic"| 语言版本: | ActionScript 3.0 |
| 运行时版本: | AIR 1.0, Flash Player 9 |
为 setAdvancedAntiAliasingTable() 方法中的 fontStyle 参数定义粗体和斜体样式的字体。使用语法 FontStyle.BOLD_ITALIC。
相关 API 元素
ITALIC | 常量 |
public static const ITALIC:String = "italic"| 语言版本: | ActionScript 3.0 |
| 运行时版本: | AIR 1.0, Flash Player 9 |
为 setAdvancedAntiAliasingTable() 方法中的 fontStyle 参数定义斜体样式的字体。使用语法 FontStyle.ITALIC。
相关 API 元素
REGULAR | 常量 |
public static const REGULAR:String = "regular"| 语言版本: | ActionScript 3.0 |
| 运行时版本: | AIR 1.0, Flash Player 9 |
为 setAdvancedAntiAliasingTable() 方法中的 fontStyle 参数定义不带样式的字体。使用语法 FontStyle.REGULAR。
相关 API 元素
Tue Jun 12 2018, 11:04 AM Z
隐藏继承的公共属性
显示继承的公共属性