Struct andrew::line::Line [−][src]
pub struct Line {
pub pt1: (usize, usize),
pub pt2: (usize, usize),
pub color: [u8; 4],
pub antialiased: bool,
}
Expand description
A drawable object that represents a line
Fields
pt1: (usize, usize)
The first point of the line
pt2: (usize, usize)
The second point of the line
color: [u8; 4]
The color of the line
antialiased: bool
Decides whether the line will be antialiased