xtd::drawing::pen::pen | ( | const xtd::drawing::color & | color, |
float | width | ||
) |
Initializes a new instance of the xtd::drawing::pen class with the specified xtd::drawing::color.
color | A xtd::drawing::color structure that indicates the color of this xtd::drawing::pen. |
width | A single number that represent the pen width. |