xtd 0.2.0
texture_brush.hpp
Go to the documentation of this file.
1
4#pragma once
5#include "../drawing_export.hpp"
6#include "brush.hpp"
7#include "image.hpp"
8#include <xtd/iequatable>
9
11namespace xtd {
13 namespace drawing {
29 class drawing_export_ texture_brush final : public brush {
30 struct data;
31
32 public:
34
40
42 texture_brush(const texture_brush& value);
43 texture_brush& operator =(const texture_brush& value);
45
47
51 const drawing::image& image() const noexcept;
54 texture_brush& image(const drawing::image& image);
56
57 private:
59
60 xtd::sptr<data> data_;
61 };
62 }
63}
Contains xtd::drawing::brush class.
Defines objects used to fill the interiors of graphical shapes such as rectangles,...
Definition brush.hpp:33
An abstract base class that provides functionality for the bitmap and metafile descended classes.
Definition image.hpp:49
Each property of the xtd::drawing::texture_brush class is a xtd::drawing::brush object that uses an i...
Definition texture_brush.hpp:29
texture_brush(const drawing::image &image)
Initializes a new xtd::drawing::texture_brush object that uses the specified image.
const drawing::image & image() const noexcept
Gets the xtd::drawing::image object associated with this xtd::drawing::texture_brush object.
The xtd::shared_ptr_object is a shared pointer as std::shared_ptr.
Definition shared_ptr_object.hpp:30
#define drawing_export_
Define shared library export.
Definition drawing_export.hpp:13
Contains xtd::drawing::image class.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10