glui v0.5.2 (2022-08-01T09:13:42Z)
Dub
Repo
Style.cropBox
glui
style
Style
Crop the given box by reducing its size on all sides.
Vector2
cropBox
(Vector2 size, uint[4] sides)
Rectangle
cropBox
(Rectangle rect, uint[4] sides)
class
Style
static
Rectangle
cropBox
(
Rectangle
rect
,
uint
[4]
sides
)
Meta
Source
See Implementation
glui
style
Style
constructors
this
enums
Side
functions
contentBox
drawBackground
drawText
fullMargin
getFont
measureText
totalMargin
update
wrapText
static functions
cropBox
init
loadFont
static variables
_currentTheme
_styleStack
structs
__anonymous
Crop the given box by reducing its size on all sides.