Sg2.9
Text Rotations
Recent RSS
Text Rotations
Date:  20. June 2010, 20:00

Don't know if this qualifies as a bug, but I just noticed a fault in the reference section.

In Typography > Style > CharacterStyle the code for the rotation property seems to be wrong.

text.characterStyle.rotation = (45).toRadians();

This will actually only yield a rotation of about 0.79º
More correct results will be given if the .toRadians() is left out.

Re: Text Rotations
From:  Jürg Lehni
Date:  21. June 2010, 12:38

That's interesting! It might be that the Adobe API uses degrees instead of radians internally. So much to Adobe API consistency... I shall test and change the Sg API accordingly to also use radians there.

Re: Text Rotations
From:  Jürg Lehni
Date:  24. November 2010, 17:17

Håkan, this now uses the same settings as the rest of the API, depending on what script.angleUnits is set to.

Scripts
08.08.14, 15:24
15.05.14, 14:23
02.03.14, 19:16
18.11.13, 14:48
22.03.13, 03:05
22.02.13, 15:45
Posts
10.01.17, 16:37
19.02.16, 06:03
19.02.16, 06:00
17.01.16, 11:00
12.01.16, 13:10
25.11.15, 08:19
Script of the Moment
Sudoku Generator + Solver 03.01.13