pixelperfectengine v0.10.0-beta.3 (2021-11-05T22:49:30Z)
Dub
Repo
TextTempl.getWidth
pixelperfectengine
graphics
text
TextTempl
Returns the width of the text chain in pixels.
int
getWidth
()
class
TextTempl
(BitmapType = Bitmap8Bit)
@
safe
pure nothrow
int
getWidth
(
)
int
getWidth
(sizediff_t begin, sizediff_t end)
Meta
Source
See Implementation
pixelperfectengine
graphics
text
TextTempl
constructors
this
functions
font
getBlockWidth
getChar
getWidth
insertChar
offsetAmount
opIndex
overwriteChar
removeChar
toDString
properties
charLength
text
variables
_text
formatting
frontTab
icon
iconOffsetX
iconOffsetY
iconSpacing
next
Returns the width of the text chain in pixels.