pixelperfectengine v0.10.0-beta.9 (2023-02-08T21:49:32Z)
Dub
Repo
Box.isBetween
pixelperfectengine
graphics
common
Box
Returns true if the given point is between the coordinates.
bool
isBetween
(int x, int y)
bool
isBetween
(Point p)
struct
Box
public @
nogc
@
safe
pure nothrow const
bool
isBetween
(
Point
p
)
int
left
;
int
top
;
int
right
;
int
bottom
;
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
static functions
bySize
variables
bottom
left
right
top
Returns true if the given point is between the coordinates.