Class TextAndChoiceLegacyDrawer

java.lang.Object
com.itextpdf.forms.fields.TextAndChoiceLegacyDrawer

final class TextAndChoiceLegacyDrawer extends Object
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
  • Constructor Details

    • TextAndChoiceLegacyDrawer

      private TextAndChoiceLegacyDrawer()
  • Method Details

    • regenerateTextAndChoiceField

      static boolean regenerateTextAndChoiceField(PdfFormAnnotation formAnnotation)
    • drawChoiceAppearance

      static void drawChoiceAppearance(PdfFormAnnotation formAnnotation, Rectangle rect, float fontSize, String value, PdfFormXObject appearance, int topIndex)
    • drawCombTextAppearance

      private static void drawCombTextAppearance(PdfFormAnnotation formAnnotation, Rectangle rect, PdfFont font, float fontSize, String value, PdfFormXObject appearance)
    • obfuscatePassword

      private static String obfuscatePassword(String text)
    • calculateTranslationHeightAfterFieldRot

      private static float calculateTranslationHeightAfterFieldRot(Rectangle bBox, double pageRotation, double relFieldRotation)
    • calculateTranslationWidthAfterFieldRot

      private static float calculateTranslationWidthAfterFieldRot(Rectangle bBox, double pageRotation, double relFieldRotation)
    • degreeToRadians

      private static double degreeToRadians(double angle)