xtd 0.2.0
Loading...
Searching...
No Matches

◆ dash_style() [2/2]

xtd::drawing::pen & xtd::drawing::pen::dash_style ( drawing::drawing_2d::dash_style  value)

Sets the style used for dashed lines drawn with this xtd::drawing::pen.

Parameters
valueA xtd::drawing::drawing_2d::dash_style that represents the style used for dashed lines drawn with this xtd::drawing::pen.
Returns
This current instance.
Remarks
A value of xtd::drawing::drawing_2d::dash_style::custom for this property specifies that a custom pattern of dashes and spaces, defined by the xtd::drawing::pendash_pattern property, makes up lines drawn with this xtd::drawing::pen. If the value of this property is xtd::drawing::drawing_2d::dash_style::custom and the value of the xtd::drawing::pen::dash_pattern property is empty, the pen draws solid lines.