support for fillOpacity, strokeOpacity, and opacity fixes #1171