5 #include "../drawing_export.h" 9 #include <xtd/iequatable> 11 #include <xtd/ustring> 83 int32 bottom() const noexcept;
88 int32 height() const noexcept;
92 void height(
int32 value) noexcept;
96 bool is_empty() const noexcept;
100 int32 left() const noexcept;
104 xtd::drawing::
point location() const noexcept;
107 void location(const
xtd::drawing::
point& value) noexcept;
111 int32 right() const noexcept;
118 void size(const
xtd::drawing::
size& value) noexcept;
122 int32 top() const noexcept;
127 int32 width() const noexcept;
131 void width(
int32 value) noexcept;
136 int32 x() const noexcept;
140 void x(
int32 value) noexcept;
145 int32 y() const noexcept;
149 void y(
int32 value) noexcept;
158 void add(const drawing::
size& sz) noexcept;
187 bool contains(const
xtd::drawing::
point& pt) const noexcept;
192 bool contains(const
xtd::drawing::
rectangle& rect) const noexcept;
198 bool contains(
int32 x,
int32 y) const noexcept;
200 bool equals(const
rectangle& value) const noexcept override;
214 void inflate(const drawing::
size& sz) noexcept;
220 void inflate(
int32 width,
int32 height) noexcept;
238 bool intersects_with(const
rectangle& rect) const noexcept;
247 void make_intersect(const
rectangle& rect) noexcept;
256 void make_union(const
rectangle& rect) noexcept;
261 void offset(const
point& pos) noexcept;
Represents an ordered pair of integer x- and y-coordinates that defines a point in a two-dimensional ...
Definition: point.h:54
Contains xtd::drawing::point class.
Stores an ordered pair of integers, which specify a height and width.
Definition: size.h:31
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
Stores a set of four floating-point numbers that represent the location and size of a rectangle...
Definition: rectangle_f.h:34
Represents text as a sequence of UTF-8 code units.
Definition: ustring.h:46
std::string to_string(const date_time &value, const std::string &fmt, const std::locale &loc)
Convert a specified value into a string with specified format and locale.
Definition: date_time.h:1063
Contains xtd::drawing::rectangle_f class.
Defines a generalized method that a value type or class implements to create a type-specific method f...
Definition: iequatable.h:18
Stores a set of four integers that represent the location and size of a rectangle.
Definition: rectangle.h:44
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes...
Definition: object.h:32
int_least32_t int32
Represents a 32-bit signed integer.
Definition: types.h:129
Contains xtd::drawing::size class.
static const rectangle empty
Represents a xtd::drawing::rectangle that has xtd::drawing::rectagle::x, xtd::drawing::rectangle::y, xtd::drawing::rectangle::width and xtd::drawing::rectangle::height values set to zero.
Definition: rectangle.h:50