public final class

DimensionBuilders.AngularLayoutConstraint.Builder

extends java.lang.Object

 java.lang.Object

↳androidx.wear.protolayout.DimensionBuilders.AngularLayoutConstraint.Builder

Overview

Builder for DimensionBuilders.AngularLayoutConstraint.

Summary

Constructors
publicBuilder(float value)

Creates a new builder for DimensionBuilders.AngularLayoutConstraint.

Methods
public DimensionBuilders.AngularLayoutConstraintbuild()

Builds an instance of DimensionBuilders.AngularLayoutConstraint.

public DimensionBuilders.AngularLayoutConstraint.BuildersetAngularAlignment(int angularAlignment)

Sets angular alignment of the actual content within the space reserved by value.

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

Constructors

public Builder(float value)

Creates a new builder for DimensionBuilders.AngularLayoutConstraint.

Parameters:

value: Sets the fixed value to reserve the space when used on a layout-changing data bind.

Methods

public DimensionBuilders.AngularLayoutConstraint.Builder setAngularAlignment(int angularAlignment)

Sets angular alignment of the actual content within the space reserved by value. If not specified, defaults to center alignment.

Builds an instance of DimensionBuilders.AngularLayoutConstraint.