MCPcopy Create free account
hub / github.com/Kethku/Pando / stroke

Method stroke

aspen/src/context_stack/draw_context.rs:75–83  ·  view source on GitHub ↗
(&mut self, shape: &impl Shape)

Source from the content-addressed store, hash-verified

73 }
74
75 pub fn stroke(&mut self, shape: &impl Shape) {
76 self.scene.stroke(
77 &self.stroke_style,
78 self.current_transform(),
79 &self.stroke_brush,
80 None,
81 shape,
82 );
83 }
84
85 pub fn set_fill_brush(&mut self, fill_brush: Brush) {
86 self.fill_brush = fill_brush;

Callers 5

draw_close_iconMethod · 0.80
draw_maximize_iconMethod · 0.80
draw_minimize_iconMethod · 0.80
stroked_fillMethod · 0.80
draw_layout_atMethod · 0.80

Calls 1

current_transformMethod · 0.80

Tested by

no test coverage detected