Draw a grid over the image.
background
The grid background color. See Chevalet::Filters for information on colors.
(Default: none)
color
The color of the grid lines. See Chevalet::Filters for information on colors.
(Default: rgba(184, 255, 252, 0.33))
size
The grid scale in pixels. (Default: 10)
Draw translucent grid lines every 10 pixels, with more opaque lines every 100 pixels:
[{
"filter": "grid",
"params": { "color": "rgba(184, 255, 252, 0.33)", "size": 10 }
},{
"filter": "grid",
"params": { "color": "rgba(184, 255, 252, 0.75)", "size": 100 }
}]