public interface

ModifiersProto.TransformationOrBuilder

 androidx.wear.protolayout.proto.ModifiersProto.TransformationOrBuilder

Subclasses:

ModifiersProto.Transformation, ModifiersProto.Transformation.Builder

Summary

Methods
public DimensionProto.PivotDimensiongetPivotX()

 The horizontal location of the point around which the element is rotated
 and scaled.

public DimensionProto.PivotDimensiongetPivotY()

 The vertical location of the point around which the element is rotated and
 scaled.

public DimensionProto.DegreesPropgetRotation()

 The clockwise degrees that the element is rotated around the pivot point.

public TypesProto.FloatPropgetScaleX()

 The scale of this element in the x direction around the pivot point, as a
 proportion of the element's unscaled width .

public TypesProto.FloatPropgetScaleY()

 The scale of this element in the y direction around the pivot point, as a
 proportion of the element's unscaled height.

public DimensionProto.DpPropgetTranslationX()

 The horizontal offset of this element relative to the location where the
 element's layout placed it.

public DimensionProto.DpPropgetTranslationY()

 The vertical offset of this element in addition to the location where the
 element's layout placed it.

public booleanhasPivotX()

 The horizontal location of the point around which the element is rotated
 and scaled.

public booleanhasPivotY()

 The vertical location of the point around which the element is rotated and
 scaled.

public booleanhasRotation()

 The clockwise degrees that the element is rotated around the pivot point.

public booleanhasScaleX()

 The scale of this element in the x direction around the pivot point, as a
 proportion of the element's unscaled width .

public booleanhasScaleY()

 The scale of this element in the y direction around the pivot point, as a
 proportion of the element's unscaled height.

public booleanhasTranslationX()

 The horizontal offset of this element relative to the location where the
 element's layout placed it.

public booleanhasTranslationY()

 The vertical offset of this element in addition to the location where the
 element's layout placed it.

Methods

public boolean hasTranslationX()

 The horizontal offset of this element relative to the location where the
 element's layout placed it.
 
.androidx.wear.protolayout.proto.DpProp translation_x = 1;

Returns:

Whether the translationX field is set.

public DimensionProto.DpProp getTranslationX()

 The horizontal offset of this element relative to the location where the
 element's layout placed it.
 
.androidx.wear.protolayout.proto.DpProp translation_x = 1;

Returns:

The translationX.

public boolean hasTranslationY()

 The vertical offset of this element in addition to the location where the
 element's layout placed it.
 
.androidx.wear.protolayout.proto.DpProp translation_y = 2;

Returns:

Whether the translationY field is set.

public DimensionProto.DpProp getTranslationY()

 The vertical offset of this element in addition to the location where the
 element's layout placed it.
 
.androidx.wear.protolayout.proto.DpProp translation_y = 2;

Returns:

The translationY.

public boolean hasScaleX()

 The scale of this element in the x direction around the pivot point, as a
 proportion of the element's unscaled width .
 
.androidx.wear.protolayout.proto.FloatProp scale_x = 3;

Returns:

Whether the scaleX field is set.

public TypesProto.FloatProp getScaleX()

 The scale of this element in the x direction around the pivot point, as a
 proportion of the element's unscaled width .
 
.androidx.wear.protolayout.proto.FloatProp scale_x = 3;

Returns:

The scaleX.

public boolean hasScaleY()

 The scale of this element in the y direction around the pivot point, as a
 proportion of the element's unscaled height.
 
.androidx.wear.protolayout.proto.FloatProp scale_y = 4;

Returns:

Whether the scaleY field is set.

public TypesProto.FloatProp getScaleY()

 The scale of this element in the y direction around the pivot point, as a
 proportion of the element's unscaled height.
 
.androidx.wear.protolayout.proto.FloatProp scale_y = 4;

Returns:

The scaleY.

public boolean hasRotation()

 The clockwise degrees that the element is rotated around the pivot point.
 
.androidx.wear.protolayout.proto.DegreesProp rotation = 5;

Returns:

Whether the rotation field is set.

public DimensionProto.DegreesProp getRotation()

 The clockwise degrees that the element is rotated around the pivot point.
 
.androidx.wear.protolayout.proto.DegreesProp rotation = 5;

Returns:

The rotation.

public boolean hasPivotX()

 The horizontal location of the point around which the element is rotated
 and scaled. With type DpProp, it is the offset from the element center;
 otherwise with type BoundingBoxRatio, it is the location proportional to
 the bounding box width.
 
.androidx.wear.protolayout.proto.PivotDimension pivot_x = 6;

Returns:

Whether the pivotX field is set.

 The horizontal location of the point around which the element is rotated
 and scaled. With type DpProp, it is the offset from the element center;
 otherwise with type BoundingBoxRatio, it is the location proportional to
 the bounding box width.
 
.androidx.wear.protolayout.proto.PivotDimension pivot_x = 6;

Returns:

The pivotX.

public boolean hasPivotY()

 The vertical location of the point around which the element is rotated and
 scaled. With type DpProp, it is the offset from the element center;
 otherwise with type BoundingBoxRatio, it is the location proportional to
 the bounding box height.
 
.androidx.wear.protolayout.proto.PivotDimension pivot_y = 7;

Returns:

Whether the pivotY field is set.

 The vertical location of the point around which the element is rotated and
 scaled. With type DpProp, it is the offset from the element center;
 otherwise with type BoundingBoxRatio, it is the location proportional to
 the bounding box height.
 
.androidx.wear.protolayout.proto.PivotDimension pivot_y = 7;

Returns:

The pivotY.