You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The method you linked is on the Shape struct, not the Painter. You should be able to do painter.add(Shape::line(...)). But it would make sense to add a Painter::line function as well 👍🏻
https://docs.rs/egui/latest/egui/enum.Shape.html#method.line
To Reproduce
There are no problem using
line_segment
rather than ```line'''.Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: