Implemented getOpacity