Skip to main content

Corners

Type Alias Corners 

Source
pub type Corners = [[f64; 2]; 4];
Expand description

Four points on the canvas in pixels, [x, y] each: where the top left, top right, bottom left and bottom right of a rectangle land.