[−][src]Trait piet_common::Text
Associated Types
type FontBuilder: FontBuilder
type Font: Font
type TextLayoutBuilder: TextLayoutBuilder
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
Implementations on Foreign Types
impl<'a> Text for D2DText<'a>[src]
type FontBuilder = D2DFontBuilder<'a>
type Font = D2DFont
type TextLayoutBuilder = D2DTextLayoutBuilder<'a>
type TextLayout = D2DTextLayout
fn new_font_by_name(
&mut self,
name: &str,
size: f64
) -> <D2DText<'a> as Text>::FontBuilder[src]
&mut self,
name: &str,
size: f64
) -> <D2DText<'a> as Text>::FontBuilder
fn new_text_layout(
&mut self,
font: &<D2DText<'a> as Text>::Font,
text: &str
) -> <D2DText<'a> as Text>::TextLayoutBuilder[src]
&mut self,
font: &<D2DText<'a> as Text>::Font,
text: &str
) -> <D2DText<'a> as Text>::TextLayoutBuilder