<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def angle(self):
 """Angle value."""

        if self.use_global_light:
            return self._image_resources.get_data('global_angle', 30.0)
        return self.value.get(Key.LocalLightingAngle).value