pub trait DecalText: DecalDraw {
    fn draw_text_decal(
        &mut self,
        pos: impl Into<Vf2d>,
        text: impl AsRef<str>,
        scale: impl Into<Vf2d>,
        color: impl Into<Color>
    ); }
Expand description

A trait that allows the rendering of text as decals

Required Methods§

Draw the given string starting at the position given and scaled

Implementors§