| 套件 | 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" [靜態]
只針對全形和寬文字 (由字符的 Unicode 屬性所決定) 指定 90 度逆時針旋轉。 | 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 |
只針對全形和寬文字 (由字符的 Unicode 屬性所決定) 指定 90 度逆時針旋轉。此值通常用於亞洲文字,只旋轉那些需要旋轉的字符。此旋轉只適用於垂直文字,以便將全形和寬字元轉為垂直方向,而不影響其他字元。
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, 03:47 PM Z
隱藏繼承公用屬性
顯示繼承公用屬性