Protected
m_Static
Private
g_attibute name
attribute value
this
add a class
class name to add
change the fill color
example
const g = c.linear_gradient( '0%', '0%', '0%', '100%' )
.addStop( 0, 'red' )
.addStop( 100, 'green' );
p.rect( 0, 0, 100, 100 )
.stroke( g.id );
change the stroke color
Optional
width: numberchange the stroke width
Generated using TypeDoc
define a new attribute