6#include <xtd/iequatable>
57 [[nodiscard]] auto
equals(const
xtd::
object& obj) const noexcept ->
bool override;
61 [[nodiscard]] auto
equals(const
brush& other) const noexcept ->
bool override;
69 [[nodiscard]] auto
to_string() const noexcept ->
xtd::
string override;
auto to_string() const noexcept -> xtd::string override
Converts this brush object to a human-readable string.
auto equals(const xtd::object &obj) const noexcept -> bool override
Determines whether the specified object is equal to the current object.
auto handle() const noexcept -> intptr
Gets the handle of the brush.
auto get_hash_code() const noexcept -> xtd::usize override
Serves as a hash function for a particular type.
brush()
Initialize a new instance of brush class.
auto set_native_brush(intptr brush) -> void
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:23
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition object.hpp:45
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
std::intmax_t intptr
Represent a pointer or a handle.
Definition intptr.hpp:23
std::size_t usize
Represents an unsigned size of any object in bytes.
Definition usize.hpp:22
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 auto data() const noexcept -> const_pointer
Gets direct access to the underlying contiguous storage.
Definition read_only_span.hpp:197