pixelperfectengine v0.10.0-beta.9 (2023-02-08T21:49:32Z)
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)
public @
safe
pure
int
getWidth
(
sizediff_t
begin
,
sizediff_t
end
)
Meta
Source
See Implementation
pixelperfectengine
graphics
text
TextTempl
constructors
this
enums
Flags
functions
addToEnd
breakTextIntoMultipleLines
font
getBlockWidth
getChar
getWidth
insertChar
offsetAmount
opIndex
overwriteChar
removeChar
toDString
properties
charLength
text
variables
_text
flags
formatting
frontTab
icon
iconOffsetX
iconOffsetY
iconSpacing
next
Returns the width of a slice of the text chain in pixels.