xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.drawing
include
xtd
drawing
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
10
namespace
xtd
{
12
namespace
drawing
{
29
class
drawing_export_
solid_brush
final :
public
xtd::drawing::brush
{
30
struct
data
;
31
32
public
:
34
37
solid_brush
();
40
explicit
solid_brush
(
const
xtd::drawing::color
&
color
);
42
44
solid_brush
(
const
solid_brush
& value);
45
solid_brush
& operator =(
const
solid_brush
& value);
47
49
53
[[nodiscard]]
auto
color
() const noexcept -> const
xtd
::
drawing
::
color
&;
57
auto
color
(const
xtd
::
drawing
::
color
& value) noexcept ->
xtd
::
drawing
::
solid_brush
&;
59
60
private:
61
xtd
::
sptr
<
data
> data_;
62
};
63
}
64
}
brush.hpp
Contains xtd::drawing::brush class.
xtd::drawing::brush
Defines objects used to fill the interiors of graphical shapes such as rectangles,...
Definition
brush.hpp:33
xtd::drawing::color
Represents an ARGB (alpha, red, green, blue) color.
Definition
color.hpp:52
xtd::drawing::solid_brush::solid_brush
solid_brush(const xtd::drawing::color &color)
Initializes a new xtd::drawing::solid_brush object of the specified color.
xtd::drawing::solid_brush::solid_brush
solid_brush()
Initializes a new xtd::drawing::solid_brush object with xtd::drawing::color::black.
xtd::drawing::solid_brush::color
auto color() const noexcept -> const xtd::drawing::color &
Gets the color of this xtd::drawing::solid_brush object.
color.hpp
Contains xtd::drawing::color class.
drawing_export.hpp
Contains drawing_export_ keyword.
drawing_export_
#define drawing_export_
Define shared library export.
Definition
drawing_export.hpp:13
xtd::sptr
xtd::shared_ptr_object< type_t > sptr
The xtd::sptr object is a shared pointer.
Definition
sptr.hpp:25
xtd::drawing
The xtd::drawing namespace provides access to GDI+ basic graphics functionality. More advanced functi...
Definition
actions_system_images.hpp:10
xtd
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition
abstract_object.hpp:8
xtd::data
constexpr auto data() const noexcept -> const_pointer
Gets direct access to the underlying contiguous storage.
Definition
read_only_span.hpp:197
Generated on
for xtd by
Gammasoft
. All rights reserved.