| 包 | flash.text.engine |
| 类 | public final class TextLineCreationResult |
| 继承 | TextLineCreationResult Object |
| 语言版本: | ActionScript 3.0 |
| 运行时版本: | Flash Player 10, AIR 1.5, Flash Lite 4 |
TextBlock.textLineCreationResult 一起使用的常量值的枚举。
相关 API 元素
公共常量
| 常量 | 由以下参数定义 | ||
|---|---|---|---|
| COMPLETE : String = "complete" [静态]
表示没有创建任何行,因为块中的所有文本已经断开。 | TextLineCreationResult | ||
| EMERGENCY : String = "emergency" [静态]
表示由于指定宽度中不可换行而通过备用换行符来创建行。 | TextLineCreationResult | ||
| INSUFFICIENT_WIDTH : String = "insufficientWidth" [静态]
表示没有创建任何行,因为没有任何文本可以适合指定的宽度,并且在对 createTextLine() 的调用中未指定 fitSomething。 | TextLineCreationResult | ||
| SUCCESS : String = "success" [静态]
表示行已成功断开。 | TextLineCreationResult | ||
常量详细信息
COMPLETE | 常量 |
public static const COMPLETE:String = "complete"| 语言版本: | ActionScript 3.0 |
| 运行时版本: | Flash Player 10, AIR 1.5, Flash Lite 4 |
表示没有创建任何行,因为块中的所有文本已经断开。
EMERGENCY | 常量 |
public static const EMERGENCY:String = "emergency"| 语言版本: | ActionScript 3.0 |
| 运行时版本: | Flash Player 10, AIR 1.5, Flash Lite 4 |
表示由于指定宽度中不可换行而通过备用换行符来创建行。
INSUFFICIENT_WIDTH | 常量 |
public static const INSUFFICIENT_WIDTH:String = "insufficientWidth"| 语言版本: | ActionScript 3.0 |
| 运行时版本: | Flash Player 10, AIR 1.5, Flash Lite 4 |
表示没有创建任何行,因为没有任何文本可以适合指定的宽度,并且在对 createTextLine() 的调用中未指定 fitSomething。
SUCCESS | 常量 |
public static const SUCCESS:String = "success"| 语言版本: | ActionScript 3.0 |
| 运行时版本: | Flash Player 10, AIR 1.5, Flash Lite 4 |
表示行已成功断开。
Tue Jun 12 2018, 11:04 AM Z
隐藏继承的公共属性
显示继承的公共属性