BackgroundGrid constructor
Creates a background grid with the specified properties.
Parameters:
backgroundColor
— The color of the background.lineColor
— The color of the grid lines.lineWidth
— The width of the grid lines in device-independent pixels (DIP).size
— The size of the grid squares in device-independent pixels (DIP).