search

goog.graphics.Stroke

Provided By
warning Deprecated

goog.graphics is deprecated. It existed to abstract over browser differences before the canvas tag was widely supported. See http://en.wikipedia.org/wiki/Canvas_element for details.

Creates an immutable stroke object.

new Stroke( width, color, opt_opacity )

Parameters
width(number|string)

The width of the stroke.

colorstring

The color of the stroke.

opt_opacitynumber=

The opacity of the background fill. The value must be greater than or equal to zero (transparent) and less than or equal to 1 (opaque).

Instance Methods