Interface FontSize.Builder

All Superinterfaces:
Buildable, CopyableBuilder<FontSize.Builder,FontSize>, SdkBuilder<FontSize.Builder,FontSize>, SdkPojo
Enclosing class:
FontSize

@Mutable @NotThreadSafe public static interface FontSize.Builder extends SdkPojo, CopyableBuilder<FontSize.Builder,FontSize>
  • Method Details

    • relative

      FontSize.Builder relative(String relative)

      The lexical name for the text size, proportional to its surrounding context.

      Parameters:
      relative - The lexical name for the text size, proportional to its surrounding context.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • relative

      FontSize.Builder relative(RelativeFontSize relative)

      The lexical name for the text size, proportional to its surrounding context.

      Parameters:
      relative - The lexical name for the text size, proportional to its surrounding context.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • absolute

      FontSize.Builder absolute(String absolute)

      The font size that you want to use in px.

      Parameters:
      absolute - The font size that you want to use in px.
      Returns:
      Returns a reference to this object so that method calls can be chained together.