Struct pixels_graphics_lib::prelude::Text
source · pub struct Text { /* private fields */ }
Implementations§
source§impl Text
impl Text
pub fn pos(&self) -> TextPos
pub fn formatting(&self) -> &TextFormat
sourcepub fn with_formatting<F>(&self, format: F) -> Textwhere
F: Into<TextFormat>,
pub fn with_formatting<F>(&self, format: F) -> Textwhere
F: Into<TextFormat>,
As text wrapping is calculated when the text object is created changing it as no effect