[−][src]Trait piet::Text
Associated Types
type FontBuilder: FontBuilder<Out = Self::Font>
type Font: Font
type TextLayoutBuilder: TextLayoutBuilder<Out = Self::TextLayout>
type TextLayout: TextLayout
Required methods
fn new_font_by_name(&mut self, name: &str, size: f64) -> Self::FontBuilder
fn new_text_layout(
&mut self,
font: &Self::Font,
text: &str
) -> Self::TextLayoutBuilder
&mut self,
font: &Self::Font,
text: &str
) -> Self::TextLayoutBuilder