public final class

LayoutElementBuilders.Arc.Builder

extends java.lang.Object

implements LayoutElementBuilders.LayoutElement.Builder

 java.lang.Object

↳androidx.wear.tiles.builders.LayoutElementBuilders.Arc.Builder

Overview

Builder for LayoutElementBuilders.Arc.

Summary

Methods
public LayoutElementBuilders.Arc.BuilderaddContent(LayoutElementBuilders.ArcLayoutElement.Builder contentBuilder)

Adds one item to contents of this container.

public LayoutElementBuilders.Arc.BuilderaddContent(LayoutElementBuilders.ArcLayoutElement content)

Adds one item to contents of this container.

public LayoutElementBuilders.Arcbuild()

public LayoutElementBuilders.Arc.BuildersetAnchorAngle(DimensionBuilders.DegreesProp.Builder anchorAngleBuilder)

Sets the angle for the anchor, used with anchor_type to determine where to draw children.

public LayoutElementBuilders.Arc.BuildersetAnchorAngle(DimensionBuilders.DegreesProp anchorAngle)

Sets the angle for the anchor, used with anchor_type to determine where to draw children.

public LayoutElementBuilders.Arc.BuildersetAnchorType(int anchorType)

Sets how to align the contents of this container relative to anchor_angle.

public LayoutElementBuilders.Arc.BuildersetModifiers(ModifiersBuilders.Modifiers.Builder modifiersBuilder)

Sets ModifiersBuilders.Modifiers for this element.

public LayoutElementBuilders.Arc.BuildersetModifiers(ModifiersBuilders.Modifiers modifiers)

Sets ModifiersBuilders.Modifiers for this element.

public LayoutElementBuilders.Arc.BuildersetVerticalAlign(int verticalAlign)

Sets vertical alignment of elements within the arc.

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

Methods

Adds one item to contents of this container.

Adds one item to contents of this container.

Sets the angle for the anchor, used with anchor_type to determine where to draw children. Note that 0 degrees is the 12 o clock position on a device, and the angle sweeps clockwise. If not defined, defaults to 0 degrees.

Values do not have to be clamped to the range 0-360; values less than 0 degrees will sweep anti-clockwise (i.e. -90 degrees is equivalent to 270 degrees), and values >360 will be be placed at X mod 360 degrees.

Sets the angle for the anchor, used with anchor_type to determine where to draw children. Note that 0 degrees is the 12 o clock position on a device, and the angle sweeps clockwise. If not defined, defaults to 0 degrees.

Values do not have to be clamped to the range 0-360; values less than 0 degrees will sweep anti-clockwise (i.e. -90 degrees is equivalent to 270 degrees), and values >360 will be be placed at X mod 360 degrees.

public LayoutElementBuilders.Arc.Builder setAnchorType(int anchorType)

Sets how to align the contents of this container relative to anchor_angle. See the descriptions of options in LayoutElementBuilders.ArcAnchorType for more information. If not defined, defaults to ARC_ANCHOR_CENTER.

public LayoutElementBuilders.Arc.Builder setVerticalAlign(int verticalAlign)

Sets vertical alignment of elements within the arc. If the LayoutElementBuilders.Arc's thickness is larger than the thickness of the element being drawn, this controls whether the element should be drawn towards the inner or outer edge of the arc, or drawn in the center. If not defined, defaults to VALIGN_CENTER.

Sets ModifiersBuilders.Modifiers for this element.

Sets ModifiersBuilders.Modifiers for this element.