Update object.class.js

added gradienttransfor rendering