Function draw

Source
pub fn draw<Renderer>(
    renderer: &mut Renderer,
    style: &Style,
    bounds: Rectangle,
    paragraph: &Renderer::Paragraph,
    appearance: Style,
    viewport: &Rectangle,
)
where Renderer: Renderer,
Expand description

Draws text using the same logic as the Text widget.