| 言語バージョン: | ActionScript 3.0 |
| ランタイムバージョン: | Flash Player 10, AIR 1.5 |
BreakOpportunity クラスは、ElementFormat クラスの
breakOpportunity プロパティの設定で使用される定数値の列挙です。 折り返しテキストが複数行に分けられるときにどの文字が改行文字として使用できるかは、このプロパティにより決められます。
public static const ALL:String = "all"| 言語バージョン: | ActionScript 3.0 |
| ランタイムバージョン: | Flash Player 10, AIR 1.5 |
ContentElement オブジェクト内のすべての文字が、強制改行を行うかどうかの判断に使用されます。このオプションを使用して、できる限り短い行を生成して、1 行でテキストを作成したり、同様の効果を得たりできます。
public static const ANY:String = "any"| 言語バージョン: | ActionScript 3.0 |
| ランタイムバージョン: | Flash Player 10, AIR 1.5 |
ContentElement オブジェクト内の文字が、改行を行うかどうかの判断に使用されます。通常、ローマン体のテキストが日中韓のテキストに埋め込まれており、単語の途中で改行されることが望ましい場合に使用されます。
public static const AUTO:String = "auto"| 言語バージョン: | ActionScript 3.0 |
| ランタイムバージョン: | Flash Player 10, AIR 1.5 |
Unicode 文字プロパティに基づいて改行を行うかどうかを判断します。この設定は、Unicode Standard Annex #14 によって定義される Unicode line breaking プロパティを実装します。
関連項目
public static const NONE:String = "none"| 言語バージョン: | ActionScript 3.0 |
| ランタイムバージョン: | Flash Player 10, AIR 1.5 |
ContentElement オブジェクト内の文字は、改行を行うかどうかの判断に使用されません。
© 2009 Adobe Systems Incorporated. All rights reserved.
Thu Mar 19 2009, 08:51 PM -07:00 現在のページ: http://livedocs.adobe.com/flex/3_jp/langref/flash/text/engine/BreakOpportunity.html