Interface IsDefaultFont

    • Method Detail

      • getSize

        int getSize()
        Returns the font size.
        Returns:
        the font size.
      • getStyle

        FontStyle getStyle()
        Returns the font style, follows CSS font-style options (i.e. normal, italic, oblique, initial, inherit).
        Returns:
        the font style, follows CSS font-style options (i.e. normal, italic, oblique, initial, inherit).
      • getFamily

        String getFamily()
        Returns the font family, follows CSS font-family options.
        Returns:
        Font family, follows CSS font-family options.
      • getWeight

        Weight getWeight()
        Returns the font weight, follows CSS font-style-weight options.
        Returns:
        the font weight, follows CSS font-style-weight options.
      • getLineHeight

        double getLineHeight()
        Returns the height of an individual line of text.
        Returns:
        the height of an individual line of text.
      • getLineHeightAsString

        String getLineHeightAsString()
        Returns the height of an individual line of text as string.
        Returns:
        the height of an individual line of text as string.
      • create

        FontItem create()
        Creates a font options instance using default or cloning current instance.
        Returns:
        a font options instance using default or cloning current instance
      • create

        default FontItem create​(IsDefaultFont defaultValues)
        Creates a font options instance using default or cloning current instance.
        Parameters:
        defaultValues - default provider
        Returns:
        a font options instance using default or cloning current instance