A background that generates an SVG grid based upon the current content bounds,
ensuring that there is always a grid visible underneath the content. The grid may consist of
lines or dots - control this via the gridType option.
The size of the grid can be mandated in the options for the background, or
it can be extracted from the surface.
You can hide/show the background grid via the hide(), show(), toggle() or setVisible(boolean)
methods.
A background that generates an SVG grid based upon the current content bounds, ensuring that there is always a grid visible underneath the content. The grid may consist of lines or dots - control this via the
gridType
option.The size of the grid can be mandated in the options for the background, or it can be extracted from the surface.
You can hide/show the background grid via the
hide()
,show()
,toggle()
orsetVisible(boolean)
methods.