[][src]Trait piet::TextLayout

pub trait TextLayout {
    fn width(&self) -> f64;
}

Required methods

fn width(&self) -> f64

Measure the advance width of the text.

Loading content...

Implementors

Loading content...