Use getDisplayedOpacity.