pub fn draw(
canvas: &mut Canvas,
drawable: &impl Drawable,
param: impl Into<DrawParam>
)
👎Deprecated since 0.8.0: Use
drawable.draw
or canvas.draw
instead.Expand description
Draws the given Drawable object to the screen by calling its draw() method.