Class FontFamily

  • All Implemented Interfaces:
    IFontFamily

    public class FontFamily
    extends java.lang.Object
    implements IFontFamily
    An abstraction of a fonts family.
    • Constructor Detail

      • FontFamily

        public FontFamily​(java.lang.String name)
    • Method Detail

      • getFamilyName

        public java.lang.String getFamilyName()
        Description copied from interface: IFontFamily
        for example
        Specified by:
        getFamilyName in interface IFontFamily
        Returns:
        for example
      • getFontIterator

        public java.util.Iterator<IFont> getFontIterator()
      • getFonts

        public IFont[] getFonts()
        Description copied from interface: IFontFamily
        All IFont instances within this family.
        Specified by:
        getFonts in interface IFontFamily
        Returns:
        All IFont instances within this family.
      • getFontType

        public java.lang.String getFontType()
        Description copied from interface: IFontFamily
        The font type. This is for example "TrueType" or "Type1".
        Specified by:
        getFontType in interface IFontFamily
        Returns:
        The font type.