com.groupdocs.metadata.core

Interfaces

Classes

Enums

Exceptions

com.groupdocs.metadata.core

Class OpenTypeFlags

  • All Implemented Interfaces:
    IEnumValue


    public final class OpenTypeFlags
    extends Object
    implements IEnumValue

    Represents OpenType font header flags.

    • Field Detail

      • None

        public static final OpenTypeFlags None

        Undefined, no flags.

      • BaselineAtY0

        public static final OpenTypeFlags BaselineAtY0

        Baseline for font at y=0.

      • LeftSidebearingAtX0

        public static final OpenTypeFlags LeftSidebearingAtX0

        Left sidebearing point at x=0 (relevant only for TrueType rasterizers).

      • DependOnPointSize

        public static final OpenTypeFlags DependOnPointSize

        Instructions may depend on point size.

      • ForceToInteger

        public static final OpenTypeFlags ForceToInteger

        Force ppem to integer values for all internal scaler math; may use fractional ppem sizes if this bit is clear.

      • AlterAdvanceWidth

        public static final OpenTypeFlags AlterAdvanceWidth

        Instructions may alter advance width (the advance widths might not scale linearly).

      • Lossless

        public static final OpenTypeFlags Lossless

        Font data is “lossless” as a result of having been subjected to optimizing transformation and/or compression.

      • Converted

        public static final OpenTypeFlags Converted

        Font converted (produce compatible metrics).

      • Optimized

        public static final OpenTypeFlags Optimized

        Font optimized for ClearType™.

      • Resort

        public static final OpenTypeFlags Resort

        Last Resort font.

    • Method Detail

      • getByRawValue

        public static OpenTypeFlags getByRawValue(int rawValue)
      • getAllValues

        public Object[] getAllValues()
        Description copied from interface: IEnumValue

        Returns the array of all values defined in the class.

        Specified by:
        getAllValues in interface IEnumValue
        Returns:
        The array of all values defined in the class.
      • getEnumValueByRawValue

        public IEnumValue getEnumValueByRawValue(int rawValue)
        Description copied from interface: IEnumValue

        Returns the enumeration value by the raw value associated with it.

        Specified by:
        getEnumValueByRawValue in interface IEnumValue
        Parameters:
        rawValue - The raw value.
        Returns:
        The enumeration value.
      • getEnumValueByName

        public IEnumValue getEnumValueByName(String name)
        Description copied from interface: IEnumValue

        Returns the enumeration value by its name.

        Specified by:
        getEnumValueByName in interface IEnumValue
        Parameters:
        name - The name of the enumeration value.
        Returns:
        The enumeration value.
      • getRawValueType

        public RawIntegerType getRawValueType()
        Description copied from interface: IEnumValue

        Returns the underlying type of the raw value of this enumeration value.

        Specified by:
        getRawValueType in interface IEnumValue
        Returns:
        The underlying type of the raw value.
      • getRawValue

        public int getRawValue()
        Description copied from interface: IEnumValue

        Returns the raw value of this enumeration value.

        Specified by:
        getRawValue in interface IEnumValue
        Returns:
        The raw value.
      • name

        public String name()
        Description copied from interface: IEnumValue

        Returns the name of this enumeration value.

        Specified by:
        name in interface IEnumValue
        Returns:
        The name.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object