The goog.graphics.ext.Element.Position_ Class

.getEnd()

returns {number}
The end coordinate of the element, in units of the parent's coordinate system.

.getMaxPosition()

returns {number}
An estimate of the maximum x/y extent this element would have in a parent of no width/height.

.getMiddle()

returns {number}
The middle coordinate of the element, in units of the parent's coordinate system.

.getMinSize()

returns {number}
The minimum width/height of the element.

.getSize()

returns {number}
The width/height of the element.

.getStart()

returns {number}
The distance from the left/top edge of this element to the left/top edge of its parent, specified in units of the parent's coordinate system.

.isParentDependent()

returns {boolean}
Whether the size or position of this element depends on the size of the parent element.

.resetCache()

Resets the caches of position values and coordinate values.

.setMinSize(minSize)

Sets the minimum width/height of the element.

minSize {string|number}
The minimum width/height of the element.

.setPosition(value, type)

Sets the position, either as a left/top, center/middle, or right/bottom value.

value {number|string}
The value of the coordinate.
type {goog.graphics.ext.Element.PositionType_}
The type of the coordinate.

.setSize(size)

Sets the width/height of the element.

size {string|number}
The width/height of the element.
returns {boolean}
Whether the value was changed.