9#include <xtd/iequatable>
172 bool equals(const
xtd::
object& obj) 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
Contains drawing_export_ keyword.
#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
@ other
The operating system is other.
Definition platform_id.hpp:58
@ a
The A key.
Definition console_key.hpp:88
@ b
The B key.
Definition console_key.hpp:90
The xtd::drawing namespace provides access to GDI+ basic graphics functionality. More advanced functi...
Definition actions_system_images.hpp:10
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8
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
static rectangle from_ltrb(int32 left, int32 top, int32 right, int32 bottom) noexcept
Creates a xtd::drawing::rectangle structure with the specified edge locations.
bool contains(const xtd::drawing::point &pt) const noexcept
Determines if the specified point is contained within this xtd::drawing::rectangle structure.
int32 y
Gets or sets the y-coordinate of the upper-left corner of this xtd::drawing::rectangle structure.
Definition rectangle.hpp:87
static rectangle round(const rectangle_f &rect) noexcept
Converts the specified xtd::drawing::rectangle_f to a xtd::drawing::rectangle by rounding the xtd::dr...
int32 left() const noexcept
Gets the x-coordinate of the left edge of this xtd::drawing::rectangle structure.
int32 width
Gets or sets the width of this xtd::drawing::rectangle structure.
Definition rectangle.hpp:92
bool equals(const xtd::object &obj) const noexcept override
Determines whether the specified object is equal to the current object.
point center() const noexcept
Gets the center property values of this xtd::drawing::rectangle structure.
void make_union(const rectangle &rect) noexcept
Replaces this xtd::drawing::rectangle with the union of itself and the specified xtd::drawing::rectan...
rectangle() noexcept=default
Initializes a new instance of the xtd::drawing::rectangle class.
void make_intersect(const rectangle &rect) noexcept
Replaces this xtd::drawing::rectangle with the intersection of itself and the specified xtd::drawing:...
xtd::string to_string() const noexcept override
Converts the attributes of this xtd::drawing::rectangle to a human-readable string.
void inflate(const drawing::size &sz) noexcept
Enlarges this xtd::drawing::rectangle by the specified amount.
static rectangle truncate(const rectangle_f &rect) noexcept
Converts the specified xtd::drawing::rectangle_f to a xtd::drawing::rectangle by truncating the xtd::...
int32 top() const noexcept
Gets the y-coordinate of the top edge of this xtd::drawing::rectangle structure.
int32 bottom() const noexcept
Gets the y-coordinate that is the sum of the xtd::drawing::rectangle::y and xtd::drawing::rectangle::...
int32 x
Gets or sets the x-coordinate of the upper-left corner of this xtd::drawing::rectangle structure....
Definition rectangle.hpp:82
bool is_empty() const noexcept
Tests whether all numeric properties of this xtd::drawing::rectangle have values of zero.
void offset(const point &pos) noexcept
Adjusts the location of this rectangle by the specified amount.
static const rectangle empty
Represents a xtd::drawing::rectangle that has xtd::drawing::rectagle::x, xtd::drawing::rectangle::y,...
Definition rectangle.hpp:49
xtd::size get_hash_code() const noexcept override
Serves as a hash function for a particular type.
static rectangle ceiling(const xtd::drawing::rectangle_f &rect) noexcept
Converts the specified xtd::drawing::rectangle_f structure to a xtd::drawing::rectangle structure by ...
void add(const drawing::size &sz) noexcept
Adds this xtd::drawing::rectangle by the specified amount.
xtd::drawing::size size() const noexcept
Gets the size of this xtd::drawing::rectangle.
xtd::drawing::point location() const noexcept
Gets the coordinates of the upper-left corner of this xtd::drawing::rectangle structure.
int32 right() const noexcept
Gets the x-coordinate that is the sum of xtd::drawing::rectangle::x and xtd::drawing::rectangle::widt...
int32 height
Gets or sets the height of this xtd::drawing::rectangle structure.
Definition rectangle.hpp:97
bool intersects_with(const rectangle &rect) const noexcept
Determines if this rectangle intersects with rect.
Contains xtd::drawing::size class.