xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.drawing
include
xtd
drawing
drawing_2d
dash_style.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#include <xtd/enum>
6
8
namespace
xtd
{
10
namespace
drawing
{
12
namespace
drawing_2d
{
20
enum class
dash_style
{
22
solid
= 0,
24
dash
,
26
dot
,
28
dash_dot
,
30
dash_dot_dot
,
32
custom
33
};
34
}
35
}
36
}
37
39
template
<>
struct
xtd::enum_register
<
xtd
::
drawing::drawing_2d::dash_style
> {
40
static
auto
values
()
noexcept
{
return
xtd::enum_collection<xtd::drawing::drawing_2d::dash_style>
{{
xtd::drawing::drawing_2d::dash_style::solid
,
"solid"
}, {
xtd::drawing::drawing_2d::dash_style::dash
,
"dash"
}, {
xtd::drawing::drawing_2d::dash_style::dot
,
"dot"
}, {
xtd::drawing::drawing_2d::dash_style::dash_dot
,
"dash_dot"
}, {
xtd::drawing::drawing_2d::dash_style::dash_dot_dot
,
"dash_dot_dot"
}};}
41
};
xtd::enum_collection
std::vector< std::pair< enum_t, xtd::string > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition
enum_collection.hpp:24
xtd::drawing::drawing_2d::dash_style
dash_style
Specifies the style of dashed lines drawn with a xtd::drawing::pen object.
Definition
dash_style.hpp:20
xtd::drawing::drawing_2d::dash_style::dash_dot
@ dash_dot
Specifies a line consisting of a repeating pattern of dash-dot.
Definition
dash_style.hpp:28
xtd::drawing::drawing_2d::dash_style::dot
@ dot
Specifies a line consisting of dots.
Definition
dash_style.hpp:26
xtd::drawing::drawing_2d::dash_style::custom
@ custom
Specifies a user-defined custom dash style.
Definition
dash_style.hpp:32
xtd::drawing::drawing_2d::dash_style::dash
@ dash
Specifies a line consisting of dashes.
Definition
dash_style.hpp:24
xtd::drawing::drawing_2d::dash_style::dash_dot_dot
@ dash_dot_dot
Specifies a line consisting of a repeating pattern of dash-dot-dot.
Definition
dash_style.hpp:30
xtd::drawing::drawing_2d::dash_style::solid
@ solid
Specifies a solid line.
Definition
dash_style.hpp:22
xtd::drawing::drawing_2d
The xtd::drawing::drawing_2d namespace provides advanced two-dimensional and vector graphics function...
Definition
compositing_mode.hpp:12
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::enum_register
Provides the registration struct for enumerations.
Definition
enum_register.hpp:38
xtd::enum_register::values
static auto values() noexcept
Definition
enum_register.hpp:55
Generated on
for xtd by
Gammasoft
. All rights reserved.