Skip to main content

line_path

Function line_path 

Source
pub fn line_path(x1: f32, y1: f32, x2: f32, y2: f32) -> Path
Expand description

Builds a single line segment from (x1, y1) to (x2, y2).