- backend
inout(FluidBackend) backend()
Undocumented in source. Be warned that the author may not have intended to support it.
- clearTextures
void clearTextures(Vector2 dpi)
Reset the texture, destroying it and replacing it with a blank.
- clearTextures
deprecated void clearTextures()
Undocumented in source. Be warned that the author may not have intended to support it.
- draw
void draw(Style style, Vector2 position)
void draw(Style[] styles, Vector2 position)
void draw(CanvasIO canvasIO, Style style, Vector2 position)
void draw(CanvasIO canvasIO, Style[] styles, Vector2 position)
deprecated void draw(Style style, Rectangle rectangle)
- generate
void generate(Vector2 position)
void generate(CanvasIO canvasIO, Vector2 position)
void generate(R chunks)
void generate(Vector2 dpi, R chunks)
Generate the textures, if not already generated.
- opAssign
Rope opAssign(Rope text)
Undocumented in source. Be warned that the author may not have intended to support it.
- opAssign
const(char)[] opAssign(const(char)[] text)
Undocumented in source. Be warned that the author may not have intended to support it.
- opOpAssign
void opOpAssign(const(char)[] text)
Undocumented in source. Be warned that the author may not have intended to support it.
- resize
void resize()
Set new bounding box for the text.
- resize
void resize(Vector2 space, bool wrap)
Set new bounding box for the text; wrap the text if it doesn't fit in boundaries.
- resize
void resize(CanvasIO canvasIO)
Set new bounding box for the text.
- resize
void resize(CanvasIO canvasIO, Vector2 space, bool wrap)
Set new bounding box for the text; wrap the text if it doesn't fit in boundaries.
- size
Vector2 size()
Get the size of the text.
- toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.
Draws text: handles updates, formatting and styling.