5#include "../drawing_export.h"
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.h:54
Stores a set of four floating-point numbers that represent the location and size of a rectangle....
Definition rectangle_f.h:34
Stores a set of four integers that represent the location and size of a rectangle.
Definition rectangle.h: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.h:50
Stores an ordered pair of integers, which specify a height and width.
Definition size.h:31
Defines a generalized method that a value type or class implements to create a type-specific method f...
Definition iequatable.h:22
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition object.h:42
#define drawing_export_
Define shared library export.
Definition drawing_export.h:13
int32_t int32
Represents a 32-bit signed integer.
Definition int32.h:23
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10
Contains xtd::drawing::point class.
Contains xtd::drawing::rectangle_f class.
Contains xtd::drawing::size class.