Protected
define a new attribute
attibute name
attribute value
this
add a class
class name to add
clear
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 ); Copy
const g = c.linear_gradient( '0%', '0%', '0%', '100%' ) .addStop( 0, 'red' ) .addStop( 100, 'green' );p.rect( 0, 0, 100, 100 ) .stroke( g.id );
render the item
change the stroke color
Optional
change the stroke width
Generated using TypeDoc
define a new attribute