line
Parameters
- self:*PlotWidget
- *PlotWidget
Source
Implementation
pub fn line(self: *PlotWidget) Line {
// NOTE: Should not allocate Line as a stack widget. Line doesn't call `dvui.widgetFree`
return .{
.plot = self,
.path = .init(dvui.currentWindow().lifo()),
};
}