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"}};}
Contains xtd::drawing::drawing_2d::matrix class.
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
@ hatch_fill
Specifies a hatch fill.
@ linear_gradient
Specifies a linear gradient fill.
@ radial_gradient
Specifies a radial gradient fill.
@ solid_color
Specifies a solid fill.
@ texture_fill
Specifies a bitmap texture fill.
@ path_gradient
Specifies a path gradient fill.
@ conical_gradient
Specifies a conical gradient fill.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10
Provides the registration struct for enumerations.
Definition enum_register.h:36