Skip to main content

place_label

Function place_label 

Source
pub fn place_label(
    raw: &str,
    atom_x: f64,
    atom_y: f64,
    side: LabelSide,
    font_px: f64,
    style: FaceStyle,
) -> PlacedLabel
Expand description

Place one label so the atom-center glyph sits on (atom_x, atom_y).