Skip to main content

text_anchors

Function text_anchors 

Source
pub fn text_anchors(
    labels: &[(RouteLabelId, FracVal)],
    geometry: &RouteGeometry,
) -> Vec<Pos2>
Expand description

Where each label sits on the wire — the diamonds a selected route draws.