Skip to main content

build_text_node

Function build_text_node 

Source
pub(crate) fn build_text_node(
    pos: Point,
    text: &str,
    font_size: usize,
    color: &str,
    bold: bool,
    anchor: &str,
    family: FontFamily,
) -> Text