(mut self, invert: bool)
| 226 | /// right). |
| 227 | #[inline] |
| 228 | pub fn invert_x(mut self, invert: bool) -> Self { |
| 229 | self.invert_x = invert; |
| 230 | self |
| 231 | } |
| 232 | |
| 233 | /// Set whether to invert the y-axis (i.e. positive values go down). |
| 234 | /// By default the y-axis is not inverted (i.e. positive values go up). |