public interface

ModifiersProto.BackgroundOrBuilder

 androidx.wear.protolayout.proto.ModifiersProto.BackgroundOrBuilder

Subclasses:

ModifiersProto.Background, ModifiersProto.Background.Builder

Summary

Methods
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.

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;

Returns:

Whether the color field is set.

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;

Returns:

The color.

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;

Returns:

Whether the corner field is set.

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;

Returns:

The corner.