xtd
0.2.0
Loading...
Searching...
No Matches
◆
pen()
[2/4]
template<typename brush_t >
xtd::drawing::pen::pen
(
const brush_t &
brush
,
float
width
)
inline
Initializes a new instance of the
xtd::drawing::pen
class with the specified
xtd::drawing::brush
.
Parameters
brush
A
xtd::drawing::brush
that determines the fill properties of this
xtd::drawing::pen
.
width
A single number that represent the pen width.
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).
xtd
drawing
pen
Generated on Sat Sep 14 2024 21:25:20 for xtd by
Gammasoft
. All rights reserved.