| 包 | flashx.textLayout.formats |
| 类 | public final class TextJustify |
| 继承 | TextJustify Object |
| 语言版本: | ActionScript 3.0 |
| 运行时版本: | Flash Player 10, AIR 1.5 |
textJustify 属性定义值。默认值为 INTER_WORD,表示两端对齐时向空格符添加额外空格。DISTRIBUTE 指定向空格符以及各个字母之间添加额外空格。只在将 justificationRule 设置为 SPACE 时才使用这些值。
相关 API 元素
公共常量
| 常量 | 由以下参数定义 | ||
|---|---|---|---|
| DISTRIBUTE : String = "distribute" [静态] 指定通过向空格字符以及各个字母之间添加空格实现两端对齐。 | TextJustify | ||
| INTER_WORD : String = "interWord" [静态] 指定通过向空格字符添加空格实现两端对齐。 | TextJustify | ||
常量详细信息
DISTRIBUTE | 常量 |
public static const DISTRIBUTE:String = "distribute"| 语言版本: | ActionScript 3.0 |
| 运行时版本: | Flash Player 10, AIR 1.5 |
指定通过向空格字符以及各个字母之间添加空格实现两端对齐。
INTER_WORD | 常量 |
public static const INTER_WORD:String = "interWord"| 语言版本: | ActionScript 3.0 |
| 运行时版本: | Flash Player 10, AIR 1.5 |
指定通过向空格字符添加空格实现两端对齐。
Tue Jun 12 2018, 11:04 AM Z
隐藏继承的公共属性
显示继承的公共属性