Trait pixel_engine::decals::DecalText
source · 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