public final class

ModifiersBuilders.Background

extends java.lang.Object

 java.lang.Object

↳androidx.wear.tiles.ModifiersBuilders.Background

Overview

A modifier to apply a background to an element.

Summary

Methods
public static ModifiersBuilders.BackgroundfromProto(ModifiersProto.Background proto)

public ColorBuilders.ColorPropgetColor()

Gets the background color for this element.

public ModifiersBuilders.CornergetCorner()

Gets the corner properties of this element.

public ModifiersProto.BackgroundtoProto()

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

Methods

public ColorBuilders.ColorProp getColor()

Gets the background color for this element. If not defined, defaults to being transparent. Intended for testing purposes only.

public ModifiersBuilders.Corner getCorner()

Gets 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. Intended for testing purposes only.

public static ModifiersBuilders.Background fromProto(ModifiersProto.Background proto)

public ModifiersProto.Background toProto()