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

◆ pen() [1/4]

template<typename brush_t >
xtd::drawing::pen::pen ( const brush_t &  brush)
inlineexplicit

Initializes a new instance of the xtd::drawing::pen class with the specified xtd::drawing::brush.

Parameters
brushA xtd::drawing::brush that determines the fill properties of this xtd::drawing::pen.
Remarks
The brush property determines how the xtd::drawing::pen draws lines. Lines are drawn as if they are filled rectangles, with the characteristics of the specified brush.
The width property of the new xtd::drawing::pen is set to 1 (the default).