Interface FontConfiguration.Builder

    • Method Detail

      • fontSize

        FontConfiguration.Builder fontSize​(FontSize fontSize)

        The option that determines the text display size.

        Parameters:
        fontSize - The option that determines the text display size.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • fontDecoration

        FontConfiguration.Builder fontDecoration​(String fontDecoration)

        Determines the appearance of decorative lines on the text.

        Parameters:
        fontDecoration - Determines the appearance of decorative lines on the text.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        FontDecoration, FontDecoration
      • fontDecoration

        FontConfiguration.Builder fontDecoration​(FontDecoration fontDecoration)

        Determines the appearance of decorative lines on the text.

        Parameters:
        fontDecoration - Determines the appearance of decorative lines on the text.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        FontDecoration, FontDecoration
      • fontColor

        FontConfiguration.Builder fontColor​(String fontColor)

        Determines the color of the text.

        Parameters:
        fontColor - Determines the color of the text.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • fontWeight

        FontConfiguration.Builder fontWeight​(FontWeight fontWeight)

        The option that determines the text display weight, or boldness.

        Parameters:
        fontWeight - The option that determines the text display weight, or boldness.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • fontStyle

        FontConfiguration.Builder fontStyle​(String fontStyle)

        Determines the text display face that is inherited by the given font family.

        Parameters:
        fontStyle - Determines the text display face that is inherited by the given font family.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        FontStyle, FontStyle
      • fontStyle

        FontConfiguration.Builder fontStyle​(FontStyle fontStyle)

        Determines the text display face that is inherited by the given font family.

        Parameters:
        fontStyle - Determines the text display face that is inherited by the given font family.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        FontStyle, FontStyle