fluid v0.7.0 (2024-10-02T21:53:39Z)
Dub
Repo
StyledText.draw
fluid
text
StyledText
Draw the text.
void
draw
(Style style, Vector2 position)
void
draw
(Style[] styles, Vector2 position)
struct
StyledText
(StyleRange = TextStyleSlice[])
void
draw
(
scope
const
Style
[]
styles
,
Vector2
position
)
in (styles.length >= 1, "At least one style must be passed to draw(Style[], Vector2)")
void
draw
(Style style, Rectangle rectangle)
Meta
Source
See Implementation
fluid
text
StyledText
aliases
minSize
constructors
this
functions
backend
clearTextures
draw
generate
opAssign
opOpAssign
resize
size
toString
variables
hasFastEdits
indentWidth
node
styleMap
texture
value
Draw the text.