Closure Library API Documentation
Go to class or file:
graphics.Stroke
Extends
Creates an immutable stroke object.
Useful links
Source Code
Git
Inheritance
goog.graphics.Stroke
Constructor
goog.graphics.Stroke(
width
,
color
)
Parameters
width
:
number
|
string
The width of the stroke.
color
:
string
The color of the stroke.
Instance Methods
Public
Protected
Private
Defined in
goog.graphics.Stroke
getColor
()
⇒
string
No description.
Returns:
string
The color of this stroke.
code »
getWidth
()
⇒
number
|
string
No description.
Returns:
number
|
string
The width of this stroke.
code »
Instance Properties
Defined in
goog.graphics.Stroke
color_
:
The color with which to fill.
Code »
width_
:
The width of the stroke.
Code »
Package graphics
Package Reference