script::canvas_context

Trait CanvasHelpers

Source
pub(crate) trait CanvasHelpers {
    // Required methods
    fn size(&self) -> Size2D<u64>;
    fn canvas(&self) -> Option<&HTMLCanvasElement>;
}

Required Methods§

Implementors§