xtd 0.2.0
hatch_style.hpp
Go to the documentation of this file.
1
4#pragma once
5#include <xtd/enum>
6
8namespace xtd {
10 namespace drawing {
12 namespace drawing_2d {
183 }
184
187 namespace [[deprecated("Replaced by xtd::drawing::drawing_2d - Will be removed in version 0.4.0.")]] drawing2d {
190 using hatch_style [[deprecated("Replaced by xtd::drawing::drawing_2d::hatch_style - Will be removed in version 0.4.0.")]] = xtd::drawing::drawing_2d::hatch_style;
191 }
192 }
193}
194
197 explicit operator auto() const noexcept {return xtd::enum_collection<xtd::drawing::drawing_2d::hatch_style> {{xtd::drawing::drawing_2d::hatch_style::horizontal, "horizontal"}, {xtd::drawing::drawing_2d::hatch_style::vertical, "vertical"}, {xtd::drawing::drawing_2d::hatch_style::forward_diagonal, "forward_diagonal"}, {xtd::drawing::drawing_2d::hatch_style::backward_diagonal, "backward_diagonal"}, {xtd::drawing::drawing_2d::hatch_style::cross, "cross"}, {xtd::drawing::drawing_2d::hatch_style::diagonal_cross, "diagonal_cross"}, {xtd::drawing::drawing_2d::hatch_style::percent_05, "percent_05"}, {xtd::drawing::drawing_2d::hatch_style::percent_10, "percent_10"}, {xtd::drawing::drawing_2d::hatch_style::percent_20, "percent_20"}, {xtd::drawing::drawing_2d::hatch_style::percent_25, "percent_25"}, {xtd::drawing::drawing_2d::hatch_style::percent_30, "percent_30"}, {xtd::drawing::drawing_2d::hatch_style::percent_40, "percent_40"}, {xtd::drawing::drawing_2d::hatch_style::percent_50, "percent_50"}, {xtd::drawing::drawing_2d::hatch_style::percent_60, "percent_60"}, {xtd::drawing::drawing_2d::hatch_style::percent_70, "percent_70"}, {xtd::drawing::drawing_2d::hatch_style::percent_75, "percent_75"}, {xtd::drawing::drawing_2d::hatch_style::percent_80, "percent_80"}, {xtd::drawing::drawing_2d::hatch_style::percent_90, "percent_90"}, {xtd::drawing::drawing_2d::hatch_style::light_downward_diagonal, "light_downward_diagonal"}, {xtd::drawing::drawing_2d::hatch_style::light_upward_diagonal, "light_upward_diagonal"}, {xtd::drawing::drawing_2d::hatch_style::dark_downward_diagonal, "dark_downward_diagonal"}, {xtd::drawing::drawing_2d::hatch_style::dark_upward_diagonal, "dark_upward_diagonal"}, {xtd::drawing::drawing_2d::hatch_style::wide_downward_diagonal, "wide_downward_diagonal"}, {xtd::drawing::drawing_2d::hatch_style::wide_upward_diagonal, "wide_upward_diagonal"}, {xtd::drawing::drawing_2d::hatch_style::light_vertical, "light_vertical"}, {xtd::drawing::drawing_2d::hatch_style::light_horizontal, "light_horizontal"}, {xtd::drawing::drawing_2d::hatch_style::narrow_vertical, "narrow_vertical"}, {xtd::drawing::drawing_2d::hatch_style::narrow_horizontal, "narrow_horizontal"}, {xtd::drawing::drawing_2d::hatch_style::dark_vertical, "dark_vertical"}, {xtd::drawing::drawing_2d::hatch_style::dark_horizontal, "dark_horizontal"}, {xtd::drawing::drawing_2d::hatch_style::dashed_downward_diagonal, "dashed_downward_diagonal"}, {xtd::drawing::drawing_2d::hatch_style::dashed_upward_diagonal, "dashed_upward_diagonal"}, {xtd::drawing::drawing_2d::hatch_style::dashed_horizontal, "dashed_horizontal"}, {xtd::drawing::drawing_2d::hatch_style::dashed_vertical, "dashed_vertical"}, {xtd::drawing::drawing_2d::hatch_style::small_confetti, "small_confetti"}, {xtd::drawing::drawing_2d::hatch_style::large_confetti, "large_confetti"}, {xtd::drawing::drawing_2d::hatch_style::zig_zag, "zig_zag"}, {xtd::drawing::drawing_2d::hatch_style::wave, "wave"}, {xtd::drawing::drawing_2d::hatch_style::diagonal_brick, "diagonal_brick"}, {xtd::drawing::drawing_2d::hatch_style::horizontal_brick, "horizontal_brick"}, {xtd::drawing::drawing_2d::hatch_style::weave, "weave"}, {xtd::drawing::drawing_2d::hatch_style::plaid, "plaid"}, {xtd::drawing::drawing_2d::hatch_style::divot, "divot"}, {xtd::drawing::drawing_2d::hatch_style::dotted_grid, "dotted_grid"}, {xtd::drawing::drawing_2d::hatch_style::dotted_diamond, "dotted_diamond"}, {xtd::drawing::drawing_2d::hatch_style::shingle, "shingle"}, {xtd::drawing::drawing_2d::hatch_style::trellis, "trellis"}, {xtd::drawing::drawing_2d::hatch_style::sphere, "sphere"}, {xtd::drawing::drawing_2d::hatch_style::small_grid, "small_grid"}, {xtd::drawing::drawing_2d::hatch_style::small_checker_board, "small_checker_board"}, {xtd::drawing::drawing_2d::hatch_style::large_checker_board, "large_checker_board"}, {xtd::drawing::drawing_2d::hatch_style::outlined_diamond, "outlined_diamond"}, {xtd::drawing::drawing_2d::hatch_style::solid_diamond, "solid_diamond"}, {xtd::drawing::drawing_2d::hatch_style::wide_checker_board, "wide_checker_board"}};}
198};
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
hatch_style
Specifies the different patterns available for xtd::drawing::drawing_2d::hatch_brush objects.
Definition hatch_style.hpp:19
@ diagonal_brick
Specifies a hatch that has the appearance of layered bricks that slant to the left from top points to...
Definition hatch_style.hpp:136
@ dashed_upward_diagonal
Specifies dashed diagonal lines, that slant to the left from top points to bottom points.
Definition hatch_style.hpp:115
@ percent_60
Specifies a 60-percent hatch. The ratio of foreground color to background color is 60:40.
Definition hatch_style.hpp:61
@ shingle
Specifies a hatch that has the appearance of diagonally layered shingles that slant to the right from...
Definition hatch_style.hpp:157
@ percent_40
Specifies a 40-percent hatch. The ratio of foreground color to background color is 40:60.
Definition hatch_style.hpp:55
@ percent_80
Specifies a 80-percent hatch. The ratio of foreground color to background color is 80:20.
Definition hatch_style.hpp:70
@ cross
Specifies horizontal and vertical lines that cross.
Definition hatch_style.hpp:34
@ dark_downward_diagonal
Specifies diagonal lines that slant to the right from top points to bottom points,...
Definition hatch_style.hpp:82
@ sphere
Specifies a hatch that has the appearance of spheres laid adjacent to one another.
Definition hatch_style.hpp:163
@ narrow_vertical
Specifies vertical lines that are spaced 75 percent closer together than hatch style xtd::drawing::dr...
Definition hatch_style.hpp:100
@ light_upward_diagonal
Specifies diagonal lines that slant to the left from top points to bottom points and are spaced 50 pe...
Definition hatch_style.hpp:79
@ light_vertical
Specifies vertical lines that are spaced 50 percent closer together than xtd::drawing::drawing_2d::ha...
Definition hatch_style.hpp:94
@ plaid
Specifies a hatch that has the appearance of a plaid material.
Definition hatch_style.hpp:145
@ horizontal
A pattern of horizontal lines.
Definition hatch_style.hpp:22
@ large_checker_board
Specifies a hatch that has the appearance of a checkerboard with squares that are twice the size of x...
Definition hatch_style.hpp:172
@ zig_zag
Specifies horizontal lines that are composed of zigzags.
Definition hatch_style.hpp:130
@ wide_upward_diagonal
Specifies diagonal lines that slant to the left from top points to bottom points, have the same spaci...
Definition hatch_style.hpp:91
@ percent_25
Specifies a 25-percent hatch. The ratio of foreground color to background color is 25:75.
Definition hatch_style.hpp:49
@ trellis
Specifies a hatch that has the appearance of a trellis.
Definition hatch_style.hpp:160
@ dotted_diamond
Specifies forward diagonal and backward diagonal lines, each of which is composed of dots,...
Definition hatch_style.hpp:154
@ percent_10
Specifies a 10-percent hatch. The ratio of foreground color to background color is 10:90.
Definition hatch_style.hpp:43
@ percent_30
Specifies a 30-percent hatch. The ratio of foreground color to background color is 30:70.
Definition hatch_style.hpp:52
@ percent_20
Specifies a 20-percent hatch. The ratio of foreground color to background color is 20:80.
Definition hatch_style.hpp:46
@ percent_70
Specifies a 70-percent hatch. The ratio of foreground color to background color is 70:30.
Definition hatch_style.hpp:64
@ light_horizontal
Specifies horizontal lines that are spaced 50 percent closer together than xtd::drawing::drawing_2d::...
Definition hatch_style.hpp:97
@ small_confetti
Specifies a hatch that has the appearance of confetti.
Definition hatch_style.hpp:124
@ percent_50
Specifies a 50-percent hatch. The ratio of foreground color to background color is 50:50.
Definition hatch_style.hpp:58
@ small_grid
Specifies horizontal and vertical lines that cross and are spaced 50 percent closer together than hat...
Definition hatch_style.hpp:166
@ forward_diagonal
A pattern of lines on a diagonal from upper left to lower right.
Definition hatch_style.hpp:28
@ percent_75
Specifies a 75-percent hatch. The ratio of foreground color to background color is 75:25.
Definition hatch_style.hpp:67
@ dark_horizontal
Specifies horizontal lines that are spaced 50 percent closer together than xtd::drawing::drawing_2d::...
Definition hatch_style.hpp:109
@ divot
Specifies a hatch that has the appearance of divots.
Definition hatch_style.hpp:148
@ diagonal_cross
A pattern of crisscross diagonal lines.
Definition hatch_style.hpp:37
@ dashed_downward_diagonal
Specifies dashed diagonal lines, that slant to the right from top points to bottom points.
Definition hatch_style.hpp:112
@ large_confetti
Specifies a hatch that has the appearance of confetti, and is composed of larger pieces than xtd::dra...
Definition hatch_style.hpp:127
@ backward_diagonal
A pattern of lines on a diagonal from upper right to lower left.
Definition hatch_style.hpp:31
@ dashed_horizontal
Specifies dashed horizontal lines.
Definition hatch_style.hpp:118
@ dark_upward_diagonal
Specifies diagonal lines that slant to the left from top points to bottom points, are spaced 50 perce...
Definition hatch_style.hpp:85
@ light_downward_diagonal
Specifies diagonal lines that slant to the right from top points to bottom points and are spaced 50 p...
Definition hatch_style.hpp:76
@ dashed_vertical
Specifies dashed vertical lines.
Definition hatch_style.hpp:121
@ wave
Specifies horizontal lines that are composed of tildes.
Definition hatch_style.hpp:133
@ horizontal_brick
Specifies a hatch that has the appearance of horizontally layered bricks.
Definition hatch_style.hpp:139
@ wide_checker_board
Specifies a hatch that has the appearance of a checkerboard with squares that are twice the size of x...
Definition hatch_style.hpp:181
@ percent_90
Specifies a 90-percent hatch. The ratio of foreground color to background color is 90:10.
Definition hatch_style.hpp:73
@ percent_05
Specifies a 5-percent hatch. The ratio of foreground color to background color is 5:95.
Definition hatch_style.hpp:40
@ dotted_grid
Specifies horizontal and vertical lines, each of which is composed of dots, that cross.
Definition hatch_style.hpp:151
@ solid_diamond
Specifies a hatch that has the appearance of a checkerboard placed diagonally.
Definition hatch_style.hpp:178
@ wide_downward_diagonal
Specifies diagonal lines that slant to the right from top points to bottom points,...
Definition hatch_style.hpp:88
@ narrow_horizontal
Specifies horizontal lines that are spaced 75 percent closer together than hatch style xtd::drawing::...
Definition hatch_style.hpp:103
@ small_checker_board
Specifies a hatch that has the appearance of a checkerboard.
Definition hatch_style.hpp:169
@ vertical
A pattern of vertical lines.
Definition hatch_style.hpp:25
@ outlined_diamond
Specifies forward diagonal and backward diagonal lines that cross but are not antialiased.
Definition hatch_style.hpp:175
@ weave
Specifies a hatch that has the appearance of a woven material.
Definition hatch_style.hpp:142
@ dark_vertical
Specifies vertical lines that are spaced 50 percent closer together than xtd::drawing::drawing_2d::ha...
Definition hatch_style.hpp:106
The xtd::drawing::drawing_2d namespace provides advanced two-dimensional and vector graphics function...
Definition compositing_mode.hpp:12
The xtd::drawing namespace provides access to GDI+ basic graphics functionality. More advanced functi...
Definition actions_system_images.hpp:10
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8
Provides the registration struct for enumerations.
Definition enum_register.hpp:38