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

Function vector_add_shape

flo/src/scenery/canvas/vector_editor_sugar.rs:126–144  ·  view source on GitHub ↗

Adds a shape to the canvas in the current scene

(shape_type: impl Into<ShapeType>, shape: impl Into<CanvasShape>, parent: impl Into<CanvasShapeParent>, properties: &[&dyn ToCanvasProperties], brushes: impl IntoIterator<Item=CanvasBrushId>)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

commit_brush_strokeFunction · 0.85
flowbetween_documentFunction · 0.85

Calls 5

ShapeEnum · 0.85
intoMethod · 0.45
to_propertiesMethod · 0.45
into_iterMethod · 0.45
is_emptyMethod · 0.45

Tested by

no test coverage detected