Class PlatformFontDescription

  • All Implemented Interfaces:
    Serializable

    public final class PlatformFontDescription
    extends FontDescription
    A platform name description of a font. This description can be used for looking up fonts.
    See Also:
    Serialized Form
    • Constructor Detail

      • PlatformFontDescription

        public PlatformFontDescription​(Platform platform,
                                       ULocale locale,
                                       String platformFamilyName)
        Constructor
        Parameters:
        platform - the platform that this description is for
        platformFamilyName - the platform name
    • Method Detail

      • getPlatform

        public Platform getPlatform()
        Get the platform that this description is for.
        Returns:
        the platform that this description is for
      • getLocale

        public ULocale getLocale()
        Get the platform that this description is for.
        Returns:
        the platform that this description is for
      • getPlatformName

        public String getPlatformName()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object