Implemented setShadowType function for drawing glowing text in canvas without dom metrics