pub trait CanvasGradientMethods<D: DomTypes> {
    // Required method
    fn AddColorStop(
        &self,
        offset: Finite<f64>,
        color: DOMString,
        _can_gc: CanGc,
    ) -> Result<(), Error>;
}

Required Methods§

source

fn AddColorStop( &self, offset: Finite<f64>, color: DOMString, _can_gc: CanGc, ) -> Result<(), Error>

Implementors§