Function graphics::rectangle_from_to
source ยท pub fn rectangle_from_to<P: Into<Vec2d>, G>(
color: Color,
from: P,
to: P,
transform: Matrix2d,
g: &mut G,
)where
G: Graphics,
Expand description
Draws rectangle.