5#include "../drawing_export.hpp"
9#include <xtd/iequatable>
96 void height(
int32 value) noexcept;
100 bool is_empty() const noexcept;
111 void location(const
xtd::drawing::
point& value) noexcept;
162 void add(const drawing::
size& sz) noexcept;
173 bool contains(const
xtd::drawing::
point& pt) const noexcept;
186 using
object::equals;
187 bool equals(const
rectangle& value) const noexcept override;
192 bool intersects_with(const
rectangle& rect) const noexcept;
205 void offset(const
point& pos) noexcept;
213 xtd::
string to_string() const noexcept override;
219 void inflate(const drawing::
size& sz) noexcept;
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:50
Stores an ordered pair of integers, which specify a height and width.
Definition size.hpp:31
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:42
#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.
Contains xtd::drawing::size class.