Rotate a label

David Grieve david.grieve at oracle.com
Wed Sep 10 23:51:57 UTC 2014


For this kind of layout, you'd want to use TextFlow.

On 9/10/14, 7:25 PM, Phil Race wrote:
> ?
> S
> I
> H
> T
>
> E
> K
> I
> L
>
> N
> A
> E
> M
>
> U
> O
> Y
>
> That is rotating the individual glyphs or vertical layout.
> I can't think of any remotely easy way to do this right now.
>
> But transforming so the string reads normally if you rotate the screen 
> should
> be possible with transforms on the node.
>
> -phil.
>
> On 9/10/2014 10:20 AM, Victor Grazi wrote:
>> In JavaFX 8, is it possible to rotate the text in a label so that 
>> instead
>> of left to right it reads bottom to top? I.e., to rotate the entire 
>> label
>> 90° counterclockwise
>



More information about the openjfx-dev mailing list