Set the hover radius in pixels for detecting nearby points for highlighting.
(mut self, radius: f32)
| 98 | |
| 99 | /// Set the hover radius in pixels for detecting nearby points for highlighting. |
| 100 | pub fn with_hover_radius_px(mut self, radius: f32) -> Self { |
| 101 | self.hover_radius_px = Some(radius.max(0.0)); |
| 102 | self |
| 103 | } |
| 104 | |
| 105 | /// Enable or disable point highlighting while hovering. |
| 106 | pub fn with_highlight_on_hover(mut self, enabled: bool) -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected