MCPcopy Create free account
hub / github.com/Logicalshift/flowbetween / on_redraw

Method on_redraw

attic/ui/src/binding_canvas.rs:177–187  ·  view source on GitHub ↗

Sets the drawing function for the canvas Canvases don't have a drawing function by default, so it's safe to draw directly on them as they'll never become invalidated. Once a drawing function is set, any bindings it may have will cause it to become invalidated if they change. Additionally, setting a drawing function will invalidate the canvas.

(&self, draw: DrawingFn)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls 3

desyncMethod · 0.80
mapMethod · 0.80