Skip to main content

build_shape_anchor

Function build_shape_anchor 

Source
pub fn build_shape_anchor(
    config: &ShapeConfig,
    shape_id: u32,
) -> Result<TwoCellAnchor>
Expand description

Build a TwoCellAnchor containing a shape.

The shape spans from config.from_cell to config.to_cell. An incrementing shape_id is used for the non-visual properties.