[ 
https://issues.apache.org/jira/browse/PIVOT-317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12766459#action_12766459
 ] 

Sandro Martini commented on PIVOT-317:
--------------------------------------

Hi, I'd prefer to keep this behavior in a single class, without splitting label 
in more classes, too.

I don't think that one time created (single line or multi-line) it would be too 
complex to apply a rotation operator to the generated text.
And to generalize this, I don't know if we have already some standard graphics 
operator (like multiply, rotation, shear, etc) in Pivot, but could be useful in 
cases like this. Maybe they could be implemented as a variant of effects ...

Good example from Todd, but i agree that it's a low priority issue.
Maybe a simpler use case could be vertical text, for example if I'd have tab 
verticals with text inside as a label.


> Add rotation style to LabelSkin
> -------------------------------
>
>                 Key: PIVOT-317
>                 URL: https://issues.apache.org/jira/browse/PIVOT-317
>             Project: Pivot
>          Issue Type: New Feature
>          Components: wtk
>            Reporter: Todd Volkert
>            Priority: Minor
>             Fix For: 1.5
>
>         Attachments: label-rotation.png, review tab 3.JPG
>
>
> Add a rotation:double style to LabelSkin, causing the label to be rotated by 
> the specified angle in radians, and affecting preferred size.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to