Interface SectionStyle.Builder

    • Method Detail

      • height

        SectionStyle.Builder height​(String height)

        The height of a section.

        Heights can only be defined for header and footer sections. The default height margin is 0.5 inches.

        Parameters:
        height - The height of a section.

        Heights can only be defined for header and footer sections. The default height margin is 0.5 inches.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • padding

        SectionStyle.Builder padding​(Spacing padding)

        The spacing between section content and its top, bottom, left, and right edges.

        There is no padding by default.

        Parameters:
        padding - The spacing between section content and its top, bottom, left, and right edges.

        There is no padding by default.

        Returns:
        Returns a reference to this object so that method calls can be chained together.