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

Method dash_offset

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

Sets the offset for where the dash pattern starts at the next stroke

(&mut self, offset: f32)

Source from the content-addressed store, hash-verified

79
80 /// Sets the offset for where the dash pattern starts at the next stroke
81 fn dash_offset(&mut self, offset: f32) { self.draw(Draw::DashOffset(offset)); }
82
83 /// Sets the colour of the next fill() operation
84 fn fill_color(&mut self, col: Color) { self.draw(Draw::FillColor(col)); }

Callers 2

drawMethod · 0.80
mainFunction · 0.80

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

Tested by

no test coverage detected