Function graphics::rectangle [−][src]
pub fn rectangle<R: Into<Rectangle>, G>(
color: Color,
rect: R,
transform: Matrix2d,
g: &mut G
) where
G: Graphics,
Draws rectangle.
pub fn rectangle<R: Into<Rectangle>, G>(
color: Color,
rect: R,
transform: Matrix2d,
g: &mut G
) where
G: Graphics,
Draws rectangle.