removed unneeded private fields
Merge pull request #286 from pb82/fix_canvas_gradient

(Issue #267) removed unneeded private fields