The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
Rectangle.contains
arsd
color
Rectangle
Returns true if this rectangle entirely contains the other
bool
contains
(Rectangle r)
struct
Rectangle
pure const nothrow @
safe
@
nogc
bool
contains
(
in
Rectangle
r
)
bool
contains
(Point p)
Meta
Source
See Implementation
arsd
color
Rectangle
constructors
this
functions
contains
intersectionOf
overlaps
properties
center
height
lowerLeft
lowerRight
size
upperLeft
upperRight
width
variables
bottom
left
right
top
Returns true if this rectangle entirely contains the other