Methods
toString()
#
| source:
style/Style.js, line 36
Returns a string representation intended for human consumption.
Stroke
and Fill
style to apply
for drawing.
Can be used as style.apply()
to apply the stroke and fill settings
globally, or as the parameter of drawable.draw(style)
to apply the
settings only for that draw
.
Applies whichever stroke
or fill
styles are present, any set to
null
is individually skipped.
⚠️ The Style class is planned to be replaced in a future minor release. ⚠️
Returns a string representation intended for human consumption.