5#include "../drawing_export.hpp"
9#include <xtd/iequatable>
110 bool is_empty() const noexcept;
121 void location(const
xtd::drawing::
point& value) noexcept;
145 void add(const drawing::
size& sz) noexcept;
156 bool contains(const
xtd::drawing::
point& pt) const noexcept;
172 bool equals(const
xtd::
object& obj) const noexcept override;
176 bool equals(const
rectangle& other) const noexcept override;
180 xtd::
size get_hash_code() const noexcept override;
185 void inflate(const drawing::
size& sz) noexcept;
196 bool intersects_with(const
rectangle& rect) const noexcept;
209 void offset(const
point& pos) noexcept;
217 xtd::
string to_string() const noexcept override;
Defines a generalized method that a value type or class implements to create a type-specific method f...
Definition iequatable.hpp:22
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition object.hpp:44
#define drawing_export_
Define shared library export.
Definition drawing_export.hpp:13
int32_t int32
Represents a 32-bit signed integer.
Definition int32.hpp:23
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10
Contains xtd::drawing::point class.
Contains xtd::drawing::rectangle_f class.
Represents an ordered pair of integer x- and y-coordinates that defines a point in a two-dimensional ...
Definition point.hpp:54
Stores a set of four floating-point numbers that represent the location and size of a rectangle....
Definition rectangle_f.hpp:34
Stores a set of four integers that represent the location and size of a rectangle.
Definition rectangle.hpp:44
rectangle() noexcept=default
Initializes a new instance of the xtd::drawing::rectangle class.
static const rectangle empty
Represents a xtd::drawing::rectangle that has xtd::drawing::rectagle::x, xtd::drawing::rectangle::y,...
Definition rectangle.hpp:49
Stores an ordered pair of integers, which specify a height and width.
Definition size.hpp:31
Contains xtd::drawing::size class.