public final class

DimensionBuilders.ProportionalDimensionProp.Builder

extends java.lang.Object

implements DimensionBuilders.ImageDimension.Builder

 java.lang.Object

↳androidx.wear.tiles.builders.DimensionBuilders.ProportionalDimensionProp.Builder

Overview

Builder for DimensionBuilders.ProportionalDimensionProp.

Summary

Methods
public DimensionBuilders.ProportionalDimensionPropbuild()

public DimensionBuilders.ProportionalDimensionProp.BuildersetAspectRatioHeight(int aspectRatioHeight)

Sets the height to be used when calculating the aspect ratio ratio to preserve.

public DimensionBuilders.ProportionalDimensionProp.BuildersetAspectRatioWidth(int aspectRatioWidth)

Sets the width to be used when calculating the aspect ratio to preserve.

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

Methods

public DimensionBuilders.ProportionalDimensionProp.Builder setAspectRatioWidth(int aspectRatioWidth)

Sets the width to be used when calculating the aspect ratio to preserve.

public DimensionBuilders.ProportionalDimensionProp.Builder setAspectRatioHeight(int aspectRatioHeight)

Sets the height to be used when calculating the aspect ratio ratio to preserve.