fluid v0.7.0 (2024-10-02T21:53:39Z)
Dub
Repo
Typeface.draw
fluid
typeface
Typeface
Draw text within the given rectangle in the image.
interface
Typeface
final const
void
draw
(
alias
chunkWords
=
defaultWordChunks
String
)
(
ref
Image
image
,
Rectangle
rectangle
,
String
text
,
ubyte
paletteIndex
,
bool
wrap
= true
)
Meta
Source
See Implementation
fluid
typeface
Typeface
aliases
defaultWordChunks
functions
advance
dpi
draw
drawLine
drawTab
glyphCount
indentWidth
lineHeight
measure
opEquals
penPosition
setSize
static functions
defaultTypeface
eachWord
lineSplitter
lineSplitterIndex
Draw text within the given rectangle in the image.