code: public static void showTextAligned(PdfContentByte canvas, int alignment, Phrase phrase, float x, float y, float rotation) {
          showTextAligned(canvas, alignment, phrase, x, y, rotation, PdfWriter.RUN_DIRECTION_NO_BIDI, 0);
      }
docs: Shows a line of text. Only the first line is written.
  
  @param canvas where the text is to be written to
  @param alignment the alignment
  @param phrase the <CODE>Phrase</CODE> with the text
  @param x the x reference position
  @param y the y reference position
  @param rotation the rotation to be applied in degrees counterclockwise