MCPcopy Create free account
hub / github.com/Logicalshift/flo_draw / stroke

Method stroke

canvas/src/context.rs:57–57  ·  view source on GitHub ↗

Draws a line around the currently defined path

(&mut self)

Source from the content-addressed store, hash-verified

55
56 /// Draws a line around the currently defined path
57 fn stroke(&mut self) { self.draw(Draw::Stroke); }
58
59 /// Sets the line width for the next stroke() operation
60 fn line_width(&mut self, width: f32) { self.draw(Draw::LineWidth(width)); }

Implementers 3

font_line_layout.rscanvas/src/font_line_layout.rs
context.rscanvas/src/context.rs
canvas.rscanvas/src/canvas.rs

Calls 1

drawMethod · 0.45