# A demo of the Chrome-only dotted or dashed background grid

This uses the relatively new Chrome only addition to canvas from the canvas v5 specification - native dotted and dashed lines. As browsers add support you will be able to use the option in them too but currently (May 2013) it's only supported in Chrome.

    obj.Set('background.grid.dashed', true);
    obj.Set('background.grid.dotted', true);