size property

double size

The size of each grid square in device-independent pixels (DIP).

The default value is 20 x 20 pixels.

Implementation

double get size {
  return _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_BackgroundGrid_getGridSize(
      _handle,
      errorHandler,
    );
  });
}
void size=(double value)

Implementation

set size(double value) {
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_BackgroundGrid_setGridSize(
      _handle,
      value,
      errorHandler,
    );
  });
}