how to write inclined text with degree e.g.45

Help
2012-08-25
2013-05-28
  • Michael Ribeiro

    Michael Ribeiro - 2012-08-25

    I want to write a word inclined with e.g. 45 degree . How I can do this?

     
  • Michael Ribeiro

    Michael Ribeiro - 2012-08-25

    I also found the solution for this. To have the complete source code get the Watermark example.

    float halfSqrt2 = (float) (0.5 * Math.sqrt(2));
    creator.textSetTransform(halfSqrt2, halfSqrt2, -halfSqrt2, halfSqrt2,
            200, 300);

     
  • mtraut

    mtraut - 2012-08-30

    …back from holidays.

    Thank you for sharing your solution

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks