6#include <xtd/iequatable>
84 bool equals(const
xtd::
object& obj) const noexcept override;
160 auto values =
xtd::string(str).
replace(
"}", xtd::string::empty_string).
replace(
" height=", xtd::string::empty_string).
replace(
"{width=", xtd::string::empty_string).split(
',');
basic_string replace(value_type old_char, value_type new_char) const noexcept
Replaces all occurrences of a specified char_t in this basic_string with another specified char_t.
Definition basic_string.hpp:1607
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
xtd::basic_string< char > string
Represents text as a sequence of UTF-8 code units.
Definition __string_definitions.hpp:43
float parse< float >(const std::string &str, number_styles styles)
Convert a string into a type.
Definition parse.hpp:190
value_t parse(const std::string &str)
Convert a string into a type.
Definition parse.hpp:34
@ other
The operating system is other.
Definition platform_id.hpp:58
@ f
The F key.
Definition console_key.hpp:98
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
Represents an ordered pair of floating-point x- and y-coordinates that defines a point in a two-dimen...
Definition point_f.hpp:35
Represents an ordered pair of integer x- and y-coordinates that defines a point in a two-dimensional ...
Definition point.hpp:54
Stores an ordered pair of floating-point, which specify a height and width.
Definition size_f.hpp:31
bool equals(const xtd::object &obj) const noexcept override
Determines whether the specified object is equal to the current object.
static xtd::drawing::size_f add(const xtd::drawing::size_f &size1, const xtd::drawing::size_f &size2) noexcept
Adds the width and height of one xtd::drawing::size_f class to the width and height of another xtd::d...
xtd::string to_string() const noexcept override
Creates a human-readable string that represents this xtd::drawing::size_f class.
static const xtd::drawing::size_f empty
Gets a Size class that has a Height and Width value of 0. This field is constant.
Definition size_f.hpp:36
size_f() noexcept=default
Initializes a new instance of the Size class that has a Height and Width value of 0.
float height
Gets or sets he vertical component of this xtd::drawing::size_f class.
Definition size_f.hpp:71
xtd::size get_hash_code() const noexcept override
Serves as a hash function for a particular type.
float width
Gets or sets the horizontal component of this xtd::drawing::size_f class.
Definition size_f.hpp:66
static xtd::drawing::size_f subtract(const xtd::drawing::size_f &sz1, const xtd::drawing::size_f &sz2) noexcept
Returns the result of subtracting specified xtd::drawing::size_f from the specified xtd::drawing::siz...
bool is_empty() const noexcept
Tests whether this Size class has xtd::drawing::size_f::width and xtd::drawing::size_f::height of 0.
Stores an ordered pair of integers, which specify a height and width.
Definition size.hpp:31