| 包 | flash.text.engine |
| 类 | public final class TextRotation |
| 继承 | TextRotation Object |
| 语言版本: | ActionScript 3.0 |
| 运行时版本: | Flash Player 10, AIR 1.5, Flash Lite 4 |
ElementFormat.textRotation、ContentElement.textRotation、TextBlock.lineRotation 和 TextLine.getAtomTextRotation()。
任何字型的最终旋转都是 TextBlock.lineRotation、ElementFormat.textRotation 与 ContentElement.textRotation 之和
相关 API 元素
ElementFormat.textRotation
ContentElement.textRotation
TextBlock.lineRotation
TextLine.getAtomTextRotation()
ContentElement.textRotation
TextBlock.lineRotation
TextLine.getAtomTextRotation()
公共常量
| 常量 | 由以下参数定义 | ||
|---|---|---|---|
| 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, Flash Lite 4 |
指定仅将全角和宽字型沿逆时针方向旋转 90 度,这是由字型的 Unicode 属性确定的。此值通常与亚洲文字一起使用,以便仅旋转那些需要旋转的字型。此旋转仅应用在垂直文本中,以将全角字符和宽字符返回到垂直方向,而不会影响其他的字符。
ROTATE_0 | 常量 |
public static const ROTATE_0:String = "rotate0"| 语言版本: | ActionScript 3.0 |
| 运行时版本: | Flash Player 10, AIR 1.5, Flash Lite 4 |
指定不进行旋转。
ROTATE_180 | 常量 |
public static const ROTATE_180:String = "rotate180"| 语言版本: | ActionScript 3.0 |
| 运行时版本: | Flash Player 10, AIR 1.5, Flash Lite 4 |
指定 180 度旋转。
ROTATE_270 | 常量 |
public static const ROTATE_270:String = "rotate270"| 语言版本: | ActionScript 3.0 |
| 运行时版本: | Flash Player 10, AIR 1.5, Flash Lite 4 |
指定 270 度顺时针旋转。
ROTATE_90 | 常量 |
public static const ROTATE_90:String = "rotate90"| 语言版本: | ActionScript 3.0 |
| 运行时版本: | Flash Player 10, AIR 1.5, Flash Lite 4 |
指定 90 度顺时针旋转。
Tue Jun 12 2018, 11:04 AM Z
隐藏继承的公共属性
显示继承的公共属性