Interface TileStyle.Builder

  • Method Details

    • backgroundColor

      TileStyle.Builder backgroundColor(String backgroundColor)

      The background color of a tile.

      Parameters:
      backgroundColor - The background color of a tile.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • border

      The border around a tile.

      Parameters:
      border - The border around a tile.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • border

      The border around a tile.

      This is a convenience method that creates an instance of the BorderStyle.Builder avoiding the need to create one manually via BorderStyle.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to border(BorderStyle).

      Parameters:
      border - a consumer that will call methods on BorderStyle.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • borderRadius

      TileStyle.Builder borderRadius(String borderRadius)

      The border radius of a tile.

      Parameters:
      borderRadius - The border radius of a tile.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • padding

      TileStyle.Builder padding(String padding)

      The padding of a tile.

      Parameters:
      padding - The padding of a tile.
      Returns:
      Returns a reference to this object so that method calls can be chained together.