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

  • 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


Log in to post a comment.

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

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks