Move the plot bounds. Can be useful for implementing alternative plot navigation methods.
(&mut self, delta_pos: Vec2)
| 1929 | /// Move the plot bounds. Can be useful for implementing alternative plot |
| 1930 | /// navigation methods. |
| 1931 | pub fn translate_bounds(&mut self, delta_pos: Vec2) { |
| 1932 | self.bounds_modifications.push(BoundsModification::Translate(delta_pos)); |
| 1933 | } |
| 1934 | |
| 1935 | /// Whether the plot axes were in auto-bounds mode in the last frame. If |
| 1936 | /// called on the first frame, this is the [`Plot`]'s default |
no outgoing calls
no test coverage detected