Enum HwmfFont.WmfClipPrecision

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<HwmfFont.WmfClipPrecision>
    Enclosing class:
    HwmfFont

    public static enum HwmfFont.WmfClipPrecision
    extends java.lang.Enum<HwmfFont.WmfClipPrecision>
    ClipPrecision Flags specify clipping precision, which defines how to clip characters that are partially outside a clipping region. These flags can be combined to specify multiple options.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      CLIP_CHARACTER_PRECIS
      This value SHOULD NOT be used.
      CLIP_DEFAULT_PRECIS
      Specifies that default clipping MUST be used.
      CLIP_DFA_DISABLE
      This value specifies that font association SHOULD< be turned off.
      CLIP_EMBEDDED
      This value specifies that font embedding MUST be used to render document content; embedded fonts are read-only.
      CLIP_LH_ANGLES
      This value is used to control font rotation, as follows: If set, the rotation for all fonts SHOULD be determined by the orientation of the coordinate system; that is, whether the orientation is left-handed or right-handed.
      CLIP_STROKE_PRECIS
      This value MAY be returned when enumerating rasterized, TrueType and vector fonts.
      CLIP_TT_ALWAYS
      This value SHOULD NOT be used.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static HwmfFont.WmfClipPrecision valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static HwmfFont.WmfClipPrecision[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • CLIP_DEFAULT_PRECIS

        public static final HwmfFont.WmfClipPrecision CLIP_DEFAULT_PRECIS
        Specifies that default clipping MUST be used.
      • CLIP_STROKE_PRECIS

        public static final HwmfFont.WmfClipPrecision CLIP_STROKE_PRECIS
        This value MAY be returned when enumerating rasterized, TrueType and vector fonts.
      • CLIP_LH_ANGLES

        public static final HwmfFont.WmfClipPrecision CLIP_LH_ANGLES
        This value is used to control font rotation, as follows: If set, the rotation for all fonts SHOULD be determined by the orientation of the coordinate system; that is, whether the orientation is left-handed or right-handed. If clear, device fonts SHOULD rotate counterclockwise, but the rotation of other fonts SHOULD be determined by the orientation of the coordinate system.
      • CLIP_DFA_DISABLE

        public static final HwmfFont.WmfClipPrecision CLIP_DFA_DISABLE
        This value specifies that font association SHOULD< be turned off.
      • CLIP_EMBEDDED

        public static final HwmfFont.WmfClipPrecision CLIP_EMBEDDED
        This value specifies that font embedding MUST be used to render document content; embedded fonts are read-only.
    • Method Detail

      • values

        public static HwmfFont.WmfClipPrecision[] 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 (HwmfFont.WmfClipPrecision c : HwmfFont.WmfClipPrecision.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static HwmfFont.WmfClipPrecision valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null