10#include "../drawing_export.h"
35 bool operator==(
const brush& value)
const {
return data_->handle_ == value.data_->handle_;}
36 bool operator!=(
const brush& value)
const {
return !operator==(value);}
50 friend class graphics;
64 std::shared_ptr<data> data_ = std::make_shared<data>();
Defines objects used to fill the interiors of graphical shapes such as rectangles,...
Definition: brush.h:27
xtd::ustring to_string() const noexcept override
Converts this brush object to a human-readable string.
Definition: brush.h:41
void set_native_brush(intptr_t brush)
In a derived class, sets a reference to a GDI+ brush object.
brush()
Initialize a new instance of brush class.
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition: object.h:26
Represents text as a sequence of UTF-8 code units.
Definition: ustring.h:48
#define drawing_export_
Define shared library export.
Definition: drawing_export.h:13
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition: system_report.h:17
Contains xtd::object class.
Contains xtd::ustring class.