pixelperfectengine v0.10.0-beta.1 (2021-05-16T17:51:01Z)
Dub
Repo
Box.pad
PixelPerfectEngine
graphics
common
Box
Pads the edges of the given box by the given amounts and returns a new Box.
struct
Box
@
nogc
@
safe
pure nothrow const
Box
pad
(
const
int
horiz
,
const
int
vert
)
Meta
Source
See Implementation
PixelPerfectEngine
graphics
common
Box
constructors
this
functions
isBetween
move
opBinary
pad
relMove
toString
properties
area
cornerLL
cornerLR
cornerUL
cornerUR
height
width
variables
bottom
left
right
top
Pads the edges of the given box by the given amounts and returns a new Box.