Trait web::Canvas2dApi [−][src]
Required methods
pub fn set_fill_color(&self, color: &str)
[src]
pub fn fill_rect(
&self,
x: impl Into<f64>,
y: impl Into<f64>,
w: impl Into<f64>,
h: impl Into<f64>
)
[src]
&self,
x: impl Into<f64>,
y: impl Into<f64>,
w: impl Into<f64>,
h: impl Into<f64>
)
pub fn clear_rect(
&self,
x: impl Into<f64>,
y: impl Into<f64>,
w: impl Into<f64>,
h: impl Into<f64>
)
[src]
&self,
x: impl Into<f64>,
y: impl Into<f64>,
w: impl Into<f64>,
h: impl Into<f64>
)