6#include <xtd/iequatable>
57 bool equals(const
xtd::
object& obj) const noexcept override;
xtd::string to_string() const noexcept override
Converts this brush object to a human-readable string.
intptr handle() const noexcept
Gets the handle of the brush.
xtd::size get_hash_code() const noexcept override
Serves as a hash function for a particular type.
brush()
Initialize a new instance of brush class.
bool equals(const xtd::object &obj) const noexcept override
Determines whether the specified object is equal to the current object.
void set_native_brush(intptr brush)
In a derived class, sets a reference to a GDI+ brush object.
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::shared_ptr_object< type_t > sptr
The xtd::sptr object is a shared pointer.
Definition sptr.hpp:25
intmax_t intptr
Represent a pointer or a handle.
Definition intptr.hpp:23
@ other
The operating system is other.
Definition platform_id.hpp:58
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
constexpr const_pointer data() const noexcept
Gets direct access to the underlying contiguous storage.
Definition read_only_span.hpp:201
Stores an ordered pair of integers, which specify a height and width.
Definition size.hpp:31