BackgroundGrid

constructor(color: Color = Color.white, lineColor: Color = Color.black, lineWidth: Float = 0.1f, size: Float = 20.0f)

Creates a background grid with the specified properties.

Since

200.1.0

Parameters

color

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).