13 namespace drawing_2d {
43 explicit operator auto()
const noexcept {
return xtd::enum_collection<xtd::drawing::drawing_2d::pen_type> {{
xtd::drawing::drawing_2d::pen_type::solid_color,
"solid_color"}, {
xtd::drawing::drawing_2d::pen_type::hatch_fill,
"hatch_fill"}, {
xtd::drawing::drawing_2d::pen_type::texture_fill,
"texture_fill"}, {
xtd::drawing::drawing_2d::pen_type::path_gradient,
"path_gradient"}, {
xtd::drawing::drawing_2d::pen_type::linear_gradient,
"linear_gradient"}, {
xtd::drawing::drawing_2d::pen_type::conical_gradient,
"conical_gradient"}, {
xtd::drawing::drawing_2d::pen_type::radial_gradient,
"radial_gradient"}};}
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
std::vector< std::pair< enum_t, xtd::ustring > > enum_collection
Represents a pair of an enum_t value and a string of an enum of type enum_t.
Definition: enum_collection.h:19
pen_type
Specifies the type of fill a xtd::drawing::pen object uses to fill lines.
Definition: pen_type.h:21
Specifies a radial gradient fill.
Specifies a path gradient fill.
Specifies a bitmap texture fill.
Specifies a conical gradient fill.
Contains xtd::drawing::drawing_2d/::matrix class.
Specifies a linear gradient fill.
Provides the registration struct for enumerations.
Definition: enum_register.h:36