The goog.graphics.paths Namespace

.createArrow(a, b, aHead, bHead)

Defines an arrow.

a {goog.math.Coordinate}
Point A.
b {goog.math.Coordinate}
Point B.
aHead {?number}
The size of the arrow head at point A. 0 omits the head.
bHead {?number}
The size of the arrow head at point B. 0 omits the head.
returns {!goog.graphics.Path}
The path.

.createRegularNGon(center, vertex, n)

Defines a regular n-gon by specifing the center, a vertex, and the total number of vertices.

center {goog.math.Coordinate}
The center point.
vertex {goog.math.Coordinate}
The vertex, which implicitly defines a radius as well.
n {number}
The number of vertices.
returns {!goog.graphics.Path}
The path.