12 namespace drawing_2d {
40 namespace [[deprecated(
"Replaced by xtd::drawing::drawing_2d - Will be removed in version 0.4.0")]] drawing2d {
50 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"}};}
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.h:22
pen_type
Specifies the type of fill a xtd::drawing::pen object uses to fill lines.
Definition pen_type.h:20
@ 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:38