Refactors canvas Drawing class