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

◆ draw_lines() [2/2]

void xtd::drawing::graphics::draw_lines ( const xtd::drawing::pen pen,
const std::vector< xtd::drawing::point_f > &  points 
)

Draws a series of line segments that connect an array of xtd::drawing::point_f structures.

Parameters
penxtd::drawing::pen that determines the color, width, and style of the line segments.
pointsArray of xtd::drawing::point_f structures that represent the points to connect.
Remarks
This method draws a series of lines connecting an array of ending points. The first two points in the array specify the first line. Each additional point specifies the end of a line segment whose starting point is the ending point of the previous line segment.