Packages

 

com.aspose.psd

Interfaces

Classes

Exceptions

com.aspose.psd

Class TextRenderingHint

  • java.lang.Object
    • com.aspose.ms.System.ValueType
      • com.aspose.ms.System.Enum
        • com.aspose.psd.TextRenderingHint


  • public final class TextRenderingHint
    extends com.aspose.ms.System.Enum

    Specifies the quality of text rendering.

    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static int AntiAlias
      Each character is drawn using its antialiased glyph bitmap without hinting.
      static int AntiAliasGridFit
      Each character is drawn using its antialiased glyph bitmap with hinting.
      static int ClearTypeGridFit
      Each character is drawn using its glyph ClearType bitmap with hinting.
      static int SingleBitPerPixel
      Each character is drawn using its glyph bitmap.
      static int SingleBitPerPixelGridFit
      Each character is drawn using its glyph bitmap.
      static int SystemDefault
      Each character is drawn using its glyph bitmap, with the system default rendering hint.
    • Field Detail

      • SystemDefault

        public static final int 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.

        See Also:
        Constant Field Values
      • SingleBitPerPixelGridFit

        public static final int SingleBitPerPixelGridFit

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

        See Also:
        Constant Field Values
      • SingleBitPerPixel

        public static final int SingleBitPerPixel

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

        See Also:
        Constant Field Values
      • AntiAliasGridFit

        public static final int AntiAliasGridFit

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

        See Also:
        Constant Field Values
      • AntiAlias

        public static final int 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.

        See Also:
        Constant Field Values
      • ClearTypeGridFit

        public static final int ClearTypeGridFit

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

        See Also:
        Constant Field Values