Added opacity support for fill and stroke.