Trait script::dom::bindings::codegen::Bindings::CanvasRenderingContext2DBinding::CanvasGradient_Binding::CanvasGradientMethods
source · pub trait CanvasGradientMethods {
// Required method
fn AddColorStop(
&self,
offset: Finite<f64>,
color: DOMString,
) -> Result<(), Error>;
}