xtd 0.2.0
solid_brush.hpp
Go to the documentation of this file.
1
4#pragma once
5#include "../drawing_export.hpp"
6#include "brush.hpp"
7#include "color.hpp"
8
10namespace xtd {
12 namespace drawing {
30 struct data;
31
32 public:
34
42
44 solid_brush(const solid_brush& value);
45 solid_brush& operator =(const solid_brush& value);
47
49
53 const xtd::drawing::color& color() const noexcept;
57 xtd::drawing::solid_brush& color(const xtd::drawing::color& value) noexcept;
59
60 private:
61 xtd::sptr<data> data_;
62 };
63 }
64}
Contains xtd::drawing::brush class.
Defines objects used to fill the interiors of graphical shapes such as rectangles,...
Definition brush.hpp:33
Represents an ARGB (alpha, red, green, blue) color.
Definition color.hpp:46
Defines a xtd::drawing::brush of a single color. Brushes are used to fill graphics shapes,...
Definition solid_brush.hpp:29
solid_brush(const xtd::drawing::color &color)
Initializes a new xtd::drawing::solid_brush object of the specified color.
solid_brush()
Initializes a new xtd::drawing::solid_brush object with xtd::drawing::color::black.
const xtd::drawing::color & color() const noexcept
Gets the color of this xtd::drawing::solid_brush object.
The xtd::shared_ptr_object is a shared pointer as std::shared_ptr.
Definition shared_ptr_object.hpp:30
Contains xtd::drawing::color class.
#define drawing_export_
Define shared library export.
Definition drawing_export.hpp:13
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10