12 namespace drawing_2d {
187 namespace [[deprecated(
"Replaced by xtd::drawing::drawing_2d - Will be removed in version 0.4.0.")]] drawing2d {
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"}};}
std::vector< xtd::collections::generic::key_value_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:22
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...
@ dashed_upward_diagonal
Specifies dashed diagonal lines, that slant to the left from top points to bottom points.
@ percent_60
Specifies a 60-percent hatch. The ratio of foreground color to background color is 60:40.
@ shingle
Specifies a hatch that has the appearance of diagonally layered shingles that slant to the right from...
@ percent_40
Specifies a 40-percent hatch. The ratio of foreground color to background color is 40:60.
@ percent_80
Specifies a 80-percent hatch. The ratio of foreground color to background color is 80:20.
@ cross
Specifies horizontal and vertical lines that cross.
@ dark_downward_diagonal
Specifies diagonal lines that slant to the right from top points to bottom points,...
@ sphere
Specifies a hatch that has the appearance of spheres laid adjacent to one another.
@ narrow_vertical
Specifies vertical lines that are spaced 75 percent closer together than hatch style xtd::drawing::dr...
@ light_upward_diagonal
Specifies diagonal lines that slant to the left from top points to bottom points and are spaced 50 pe...
@ light_vertical
Specifies vertical lines that are spaced 50 percent closer together than xtd::drawing::drawing_2d::ha...
@ plaid
Specifies a hatch that has the appearance of a plaid material.
@ horizontal
A pattern of horizontal lines.
@ large_checker_board
Specifies a hatch that has the appearance of a checkerboard with squares that are twice the size of x...
@ zig_zag
Specifies horizontal lines that are composed of zigzags.
@ wide_upward_diagonal
Specifies diagonal lines that slant to the left from top points to bottom points, have the same spaci...
@ percent_25
Specifies a 25-percent hatch. The ratio of foreground color to background color is 25:75.
@ trellis
Specifies a hatch that has the appearance of a trellis.
@ dotted_diamond
Specifies forward diagonal and backward diagonal lines, each of which is composed of dots,...
@ percent_10
Specifies a 10-percent hatch. The ratio of foreground color to background color is 10:90.
@ percent_30
Specifies a 30-percent hatch. The ratio of foreground color to background color is 30:70.
@ percent_20
Specifies a 20-percent hatch. The ratio of foreground color to background color is 20:80.
@ percent_70
Specifies a 70-percent hatch. The ratio of foreground color to background color is 70:30.
@ light_horizontal
Specifies horizontal lines that are spaced 50 percent closer together than xtd::drawing::drawing_2d::...
@ small_confetti
Specifies a hatch that has the appearance of confetti.
@ percent_50
Specifies a 50-percent hatch. The ratio of foreground color to background color is 50:50.
@ small_grid
Specifies horizontal and vertical lines that cross and are spaced 50 percent closer together than hat...
@ forward_diagonal
A pattern of lines on a diagonal from upper left to lower right.
@ percent_75
Specifies a 75-percent hatch. The ratio of foreground color to background color is 75:25.
@ dark_horizontal
Specifies horizontal lines that are spaced 50 percent closer together than xtd::drawing::drawing_2d::...
@ divot
Specifies a hatch that has the appearance of divots.
@ diagonal_cross
A pattern of crisscross diagonal lines.
@ dashed_downward_diagonal
Specifies dashed diagonal lines, that slant to the right from top points to bottom points.
@ large_confetti
Specifies a hatch that has the appearance of confetti, and is composed of larger pieces than xtd::dra...
@ backward_diagonal
A pattern of lines on a diagonal from upper right to lower left.
@ dashed_horizontal
Specifies dashed horizontal lines.
@ dark_upward_diagonal
Specifies diagonal lines that slant to the left from top points to bottom points, are spaced 50 perce...
@ light_downward_diagonal
Specifies diagonal lines that slant to the right from top points to bottom points and are spaced 50 p...
@ dashed_vertical
Specifies dashed vertical lines.
@ wave
Specifies horizontal lines that are composed of tildes.
@ horizontal_brick
Specifies a hatch that has the appearance of horizontally layered bricks.
@ wide_checker_board
Specifies a hatch that has the appearance of a checkerboard with squares that are twice the size of x...
@ percent_90
Specifies a 90-percent hatch. The ratio of foreground color to background color is 90:10.
@ percent_05
Specifies a 5-percent hatch. The ratio of foreground color to background color is 5:95.
@ dotted_grid
Specifies horizontal and vertical lines, each of which is composed of dots, that cross.
@ solid_diamond
Specifies a hatch that has the appearance of a checkerboard placed diagonally.
@ wide_downward_diagonal
Specifies diagonal lines that slant to the right from top points to bottom points,...
@ narrow_horizontal
Specifies horizontal lines that are spaced 75 percent closer together than hatch style xtd::drawing::...
@ small_checker_board
Specifies a hatch that has the appearance of a checkerboard.
@ vertical
A pattern of vertical lines.
@ outlined_diamond
Specifies forward diagonal and backward diagonal lines that cross but are not antialiased.
@ weave
Specifies a hatch that has the appearance of a woven material.
@ dark_vertical
Specifies vertical lines that are spaced 50 percent closer together than xtd::drawing::drawing_2d::ha...
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10
Provides the registration struct for enumerations.
Definition enum_register.hpp:38