Scenic.Script.clear
You're seeing just the function
clear
, go back to Scenic.Script module for more information.
Specs
clear(ops :: t(), color :: Scenic.Color.t()) :: ops :: t()
Erase the entire drawing field output.
The clear/1
function is equivalent to setting a color, creating a new rect path
that covers the entire draw field, then filling it. clear/1
does all this in a
single, compact script command.