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

◆ pen() [4/4]

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.

Parameters
colorA xtd::drawing::color structure that indicates the color of this xtd::drawing::pen.
widthA single number that represent the pen width.
Remarks
The color property is set to the color specified by the color parameter. The width property is set to 1 (the default).