com.aspose.cad.jasperreports.common

Enum TextRenderingHintEnum

    • Enum Constant Detail

      • SystemDefault

        public static final TextRenderingHintEnum SystemDefault

        Each character is drawn using its glyph bitmap, with the system default rendering hint. The text will be drawn using whatever font-smoothing settings the user has selected for the system.

      • SingleBitPerPixelGridFit

        public static final TextRenderingHintEnum SingleBitPerPixelGridFit

        Each character is drawn using its glyph bitmap. Hinting is used to improve character appearance on stems and curvature.

      • SingleBitPerPixel

        public static final TextRenderingHintEnum SingleBitPerPixel

        Each character is drawn using its glyph bitmap. Hinting is not used.

      • AntiAliasGridFit

        public static final TextRenderingHintEnum AntiAliasGridFit

        Each character is drawn using its antialiased glyph bitmap with hinting. Much better quality due to antialiasing, but at a higher performance cost.

      • AntiAlias

        public static final TextRenderingHintEnum AntiAlias

        Each character is drawn using its antialiased glyph bitmap without hinting. Better quality due to antialiasing. Stem width differences may be noticeable because hinting is turned off.

      • ClearTypeGridFit

        public static final TextRenderingHintEnum ClearTypeGridFit

        Each character is drawn using its glyph ClearType bitmap with hinting. The highest quality setting. Used to take advantage of ClearType font features.

    • Method Detail

      • values

        public static TextRenderingHintEnum[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (TextRenderingHintEnum c : TextRenderingHintEnum.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static TextRenderingHintEnum valueOf(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getType

        public int getType()
        Gets the value that represents the type of the enum.
        Returns:
        the type