(&mut self, radians: f32)
| 336 | /// Sets the rotation angle in radians. |
| 337 | #[inline] |
| 338 | pub fn radians(&mut self, radians: f32) -> &mut Self { |
| 339 | self.config.rotation_radians = radians; |
| 340 | self |
| 341 | } |
| 342 | |
| 343 | /// Sets the rotation pivot as normalized coordinates (0.0–1.0). |
| 344 | /// Default is (0.5, 0.5) = center of the element. |
no outgoing calls