pixelperfectengine v0.10.0-beta.1 (2021-05-16T17:51:01Z)
Dub
Repo
TextTempl.getWidth
PixelPerfectEngine
graphics
text
TextTempl
Returns the width of a slice of the text chain in pixels.
int
getWidth
()
int
getWidth
(sizediff_t begin, sizediff_t end)
class
TextTempl
(BitmapType = Bitmap8Bit)
@
safe
pure
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 a slice of the text chain in pixels.