public final class

DimensionProto.PivotDimension.Builder

extends <any>

implements DimensionProto.PivotDimensionOrBuilder

 java.lang.Object

↳<any>

↳androidx.wear.protolayout.proto.DimensionProto.PivotDimension.Builder

Overview

 A dimension that can be applied to a pivot location for scale and rotate transformations.
 
Protobuf type androidx.wear.protolayout.proto.PivotDimension

Summary

Methods
public DimensionProto.PivotDimension.BuilderclearInner()

public DimensionProto.PivotDimension.BuilderclearLocationRatio()

 Location proportion to bounding box, with the bounding box top / start as
 0 and bottom / end as 1.

public DimensionProto.PivotDimension.BuilderclearOffsetDp()

 Location in dp, with the default pivot (view center) as 0

public DimensionProto.PivotDimension.InnerCasegetInnerCase()

public DimensionProto.BoundingBoxRatiogetLocationRatio()

 Location proportion to bounding box, with the bounding box top / start as
 0 and bottom / end as 1.

public DimensionProto.DpPropgetOffsetDp()

 Location in dp, with the default pivot (view center) as 0

public booleanhasLocationRatio()

 Location proportion to bounding box, with the bounding box top / start as
 0 and bottom / end as 1.

public booleanhasOffsetDp()

 Location in dp, with the default pivot (view center) as 0

public DimensionProto.PivotDimension.BuildermergeLocationRatio(DimensionProto.BoundingBoxRatio value)

 Location proportion to bounding box, with the bounding box top / start as
 0 and bottom / end as 1.

public DimensionProto.PivotDimension.BuildermergeOffsetDp(DimensionProto.DpProp value)

 Location in dp, with the default pivot (view center) as 0

public DimensionProto.PivotDimension.BuildersetLocationRatio(DimensionProto.BoundingBoxRatio.Builder builderForValue)

 Location proportion to bounding box, with the bounding box top / start as
 0 and bottom / end as 1.

public DimensionProto.PivotDimension.BuildersetLocationRatio(DimensionProto.BoundingBoxRatio value)

 Location proportion to bounding box, with the bounding box top / start as
 0 and bottom / end as 1.

public DimensionProto.PivotDimension.BuildersetOffsetDp(DimensionProto.DpProp.Builder builderForValue)

 Location in dp, with the default pivot (view center) as 0

public DimensionProto.PivotDimension.BuildersetOffsetDp(DimensionProto.DpProp value)

 Location in dp, with the default pivot (view center) as 0

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

Methods

public boolean hasOffsetDp()

 Location in dp, with the default pivot (view center) as 0
 
.androidx.wear.protolayout.proto.DpProp offset_dp = 1;

public DimensionProto.DpProp getOffsetDp()

 Location in dp, with the default pivot (view center) as 0
 
.androidx.wear.protolayout.proto.DpProp offset_dp = 1;

 Location in dp, with the default pivot (view center) as 0
 
.androidx.wear.protolayout.proto.DpProp offset_dp = 1;

 Location in dp, with the default pivot (view center) as 0
 
.androidx.wear.protolayout.proto.DpProp offset_dp = 1;

 Location in dp, with the default pivot (view center) as 0
 
.androidx.wear.protolayout.proto.DpProp offset_dp = 1;

 Location in dp, with the default pivot (view center) as 0
 
.androidx.wear.protolayout.proto.DpProp offset_dp = 1;

public boolean hasLocationRatio()

 Location proportion to bounding box, with the bounding box top / start as
 0 and bottom / end as 1. Values outside [0, 1] are also valid.
 
.androidx.wear.protolayout.proto.BoundingBoxRatio location_ratio = 2;

public DimensionProto.BoundingBoxRatio getLocationRatio()

 Location proportion to bounding box, with the bounding box top / start as
 0 and bottom / end as 1. Values outside [0, 1] are also valid.
 
.androidx.wear.protolayout.proto.BoundingBoxRatio location_ratio = 2;

 Location proportion to bounding box, with the bounding box top / start as
 0 and bottom / end as 1. Values outside [0, 1] are also valid.
 
.androidx.wear.protolayout.proto.BoundingBoxRatio location_ratio = 2;

 Location proportion to bounding box, with the bounding box top / start as
 0 and bottom / end as 1. Values outside [0, 1] are also valid.
 
.androidx.wear.protolayout.proto.BoundingBoxRatio location_ratio = 2;

 Location proportion to bounding box, with the bounding box top / start as
 0 and bottom / end as 1. Values outside [0, 1] are also valid.
 
.androidx.wear.protolayout.proto.BoundingBoxRatio location_ratio = 2;

public DimensionProto.PivotDimension.Builder clearLocationRatio()

 Location proportion to bounding box, with the bounding box top / start as
 0 and bottom / end as 1. Values outside [0, 1] are also valid.
 
.androidx.wear.protolayout.proto.BoundingBoxRatio location_ratio = 2;