npm.nicfv.com
    Preparing search index...

    Interface Drawable

    Represents an object that can be drawn on the canvas.

    interface Drawable {
        draw(graphics: CanvasRenderingContext2D): void;
    }
    Index

    Methods

    Methods

    • Draw this object onto the canvas.

      Parameters

      • graphics: CanvasRenderingContext2D

        Canvas 2D rendering interface

      Returns void