public final class

ModifiersBuilders.Background.Builder

extends java.lang.Object

 java.lang.Object

↳androidx.wear.tiles.builders.ModifiersBuilders.Background.Builder

Overview

Builder for ModifiersBuilders.Background

Summary

Methods
public ModifiersBuilders.Backgroundbuild()

Builds an instance from accumulated values.

public ModifiersBuilders.Background.BuildersetColor(ColorBuilders.ColorProp.Builder colorBuilder)

Sets the background color for this element.

public ModifiersBuilders.Background.BuildersetColor(ColorBuilders.ColorProp color)

Sets the background color for this element.

public ModifiersBuilders.Background.BuildersetCorner(ModifiersBuilders.Corner.Builder cornerBuilder)

Sets the corner properties of this element.

public ModifiersBuilders.Background.BuildersetCorner(ModifiersBuilders.Corner corner)

Sets the corner properties of this element.

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Methods

Sets the background color for this element. If not defined, defaults to being transparent.

Sets the background color for this element. If not defined, defaults to being transparent.

Sets the corner properties of this element. This only affects the drawing of this element if it has a background color or border. If not defined, defaults to having a square corner.

Sets the corner properties of this element. This only affects the drawing of this element if it has a background color or border. If not defined, defaults to having a square corner.

Builds an instance from accumulated values.