| 包 | flash.text.engine |
| 类 | public final class TextRotation |
| 继承 | TextRotation Object |
| 语言版本: | ActionScript 3.0 |
| 运行时版本: | Flash Player 10, AIR 1.5 |
ElementFormat.textRotation、ContentElement.textRotation、TextBlock.lineRotation 和 TextLine.getAtomTextRotation()。
任何字型的最终旋转都是 TextBlock.lineRotation、ElementFormat.textRotation 与 ContentElement.textRotation 之和
另请参见
| 常量 | 定义方 | ||
|---|---|---|---|
| AUTO : String = "auto" [静态] 指定仅将全角和宽字型沿逆时针方向旋转 90 度,这是由字型的 Unicode 属性确定的。 | TextRotation | ||
| ROTATE_0 : String = "rotate0" [静态] 指定不进行旋转。 | TextRotation | ||
| ROTATE_180 : String = "rotate180" [静态] 指定 180 度旋转。 | TextRotation | ||
| ROTATE_270 : String = "rotate270" [静态] 指定 270 度顺时针旋转。 | TextRotation | ||
| ROTATE_90 : String = "rotate90" [静态] 指定 90 度顺时针旋转。 | TextRotation | ||
| AUTO | 常量 |
public static const AUTO:String = "auto"| 语言版本: | ActionScript 3.0 |
| 运行时版本: | Flash Player 10, AIR 1.5 |
指定仅将全角和宽字型沿逆时针方向旋转 90 度,这是由字型的 Unicode 属性确定的。此值通常与亚洲文字一起使用,以便仅旋转那些需要旋转的字型。此旋转仅应用在垂直文本中,以将全角字符和宽字符返回到垂直方向,而不会影响其他的字符。
| ROTATE_0 | 常量 |
public static const ROTATE_0:String = "rotate0"| 语言版本: | ActionScript 3.0 |
| 运行时版本: | Flash Player 10, AIR 1.5 |
指定不进行旋转。
| ROTATE_180 | 常量 |
public static const ROTATE_180:String = "rotate180"| 语言版本: | ActionScript 3.0 |
| 运行时版本: | Flash Player 10, AIR 1.5 |
指定 180 度旋转。
| ROTATE_270 | 常量 |
public static const ROTATE_270:String = "rotate270"| 语言版本: | ActionScript 3.0 |
| 运行时版本: | Flash Player 10, AIR 1.5 |
指定 270 度顺时针旋转。
| ROTATE_90 | 常量 |
public static const ROTATE_90:String = "rotate90"| 语言版本: | ActionScript 3.0 |
| 运行时版本: | Flash Player 10, AIR 1.5 |
指定 90 度顺时针旋转。