API ReferenceAPI Reference·ModulesModules·UiUi·oa::Uioa::Uioa::ui::TextLayoutStruct published by the oa::Ui struct.StRust public APISourceSourceDeclarationpub struct TextLayout;Public Rust declaration.Associated Functionsshapeshapepub fn shape( atlas: &TextAtlas, text: &str, origin: [f32; 2], config: TextLayoutConfig, color: Color, ) -> Result<Vec<PositionedGlyph>>Public Method Documentationpub fn shape( atlas: &TextAtlas, text: &str, origin: [f32; 2], config: TextLayoutConfig, color: Color ) -> Result<Vec<PositionedGlyph>>SourceSourceNo public source comment is attached to this declaration.
pub fn shape( atlas: &TextAtlas, text: &str, origin: [f32; 2], config: TextLayoutConfig, color: Color ) -> Result<Vec<PositionedGlyph>>SourceSourceNo public source comment is attached to this declaration.