public final class

ModifiersProto.Background.Builder

extends <any>

implements ModifiersProto.BackgroundOrBuilder

 java.lang.Object

↳<any>

↳androidx.wear.protolayout.proto.ModifiersProto.Background.Builder

Overview

 A modifier to apply a background to an element.
 
Protobuf type androidx.wear.protolayout.proto.Background

Summary

Methods
public ModifiersProto.Background.BuilderclearColor()

 The background color for this element.

public ModifiersProto.Background.BuilderclearCorner()

 The corner properties of this element.

public ColorProto.ColorPropgetColor()

 The background color for this element.

public ModifiersProto.CornergetCorner()

 The corner properties of this element.

public booleanhasColor()

 The background color for this element.

public booleanhasCorner()

 The corner properties of this element.

public ModifiersProto.Background.BuildermergeColor(ColorProto.ColorProp value)

 The background color for this element.

public ModifiersProto.Background.BuildermergeCorner(ModifiersProto.Corner value)

 The corner properties of this element.

public ModifiersProto.Background.BuildersetColor(ColorProto.ColorProp.Builder builderForValue)

 The background color for this element.

public ModifiersProto.Background.BuildersetColor(ColorProto.ColorProp value)

 The background color for this element.

public ModifiersProto.Background.BuildersetCorner(ModifiersProto.Corner.Builder builderForValue)

 The corner properties of this element.

public ModifiersProto.Background.BuildersetCorner(ModifiersProto.Corner value)

 The corner properties of this element.

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

Methods

public boolean hasColor()

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

 While this field is statically accessible from 1.0, it's only bindable
 since version 1.2 and renderers supporting version 1.2 will use the dynamic
 value (if set).
 
.androidx.wear.protolayout.proto.ColorProp color = 1;

public ColorProto.ColorProp getColor()

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

 While this field is statically accessible from 1.0, it's only bindable
 since version 1.2 and renderers supporting version 1.2 will use the dynamic
 value (if set).
 
.androidx.wear.protolayout.proto.ColorProp color = 1;

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

 While this field is statically accessible from 1.0, it's only bindable
 since version 1.2 and renderers supporting version 1.2 will use the dynamic
 value (if set).
 
.androidx.wear.protolayout.proto.ColorProp color = 1;

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

 While this field is statically accessible from 1.0, it's only bindable
 since version 1.2 and renderers supporting version 1.2 will use the dynamic
 value (if set).
 
.androidx.wear.protolayout.proto.ColorProp color = 1;

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

 While this field is statically accessible from 1.0, it's only bindable
 since version 1.2 and renderers supporting version 1.2 will use the dynamic
 value (if set).
 
.androidx.wear.protolayout.proto.ColorProp color = 1;

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

 While this field is statically accessible from 1.0, it's only bindable
 since version 1.2 and renderers supporting version 1.2 will use the dynamic
 value (if set).
 
.androidx.wear.protolayout.proto.ColorProp color = 1;

public boolean hasCorner()

 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.
 
.androidx.wear.protolayout.proto.Corner corner = 2;

public ModifiersProto.Corner getCorner()

 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.
 
.androidx.wear.protolayout.proto.Corner corner = 2;

 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.
 
.androidx.wear.protolayout.proto.Corner corner = 2;

 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.
 
.androidx.wear.protolayout.proto.Corner corner = 2;

 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.
 
.androidx.wear.protolayout.proto.Corner corner = 2;

 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.
 
.androidx.wear.protolayout.proto.Corner corner = 2;