テキスト (s:label) を回転するには? 私はrotationZを使用してみましたが、テキストを回転させる代わりに、奇妙な効果で各文字を回転させます...テキストの角度を変更するにはどうすればよいですか?
1843 次
2 に答える
0
効果がある場合:
http://www.eonflex.com/flex/4.1/langref/spark/effects/Rotate.html#includeExamplesSummary
プロパティの場合: http://docs.huihoo.com/flex/4/spark/components/Label.html#propertySummary回転を探す
サンプルの場合:
http://flex.gormagon.org/2007/04/12/text-rotation/
http://creative-geeks.com/blog/2009/05/26/rotate-text-using-embedded-fonts/
于 2010-08-29T16:38:14.413 に答える
0
<s:Label rotation="270" text="Your Text"/>
下から上まで読む
<s:Label rotation="90" text="Your Text"/>
上から下まで読む
垂直方向に配置する場合は、スペーサーを使用して VGroup でラップします。
<s:VGroup height="100%">
<s:Spacer height="50%" />
<s:Label rotation="270" text="Your Text"/>
<s:Spacer height="50%" />
</s:VGroup>
于 2013-06-18T22:02:39.100 に答える