public final class

ModifiersBuilders.Border.Builder

extends java.lang.Object

 java.lang.Object

↳androidx.wear.protolayout.ModifiersBuilders.Border.Builder

Overview

Builder for ModifiersBuilders.Border

Summary

Constructors
publicBuilder()

Creates an instance of ModifiersBuilders.Clickable.Builder.

Methods
public ModifiersBuilders.Borderbuild()

Builds an instance from accumulated values.

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

Sets the color of the border.

public ModifiersBuilders.Border.BuildersetWidth(DimensionBuilders.DpProp width)

Sets the width of the border, in DP.

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

Constructors

public Builder()

Creates an instance of ModifiersBuilders.Clickable.Builder.

Methods

Sets the width of the border, in DP.

Note that this field only supports static values.

Sets the color of the border.

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

Builds an instance from accumulated values.