GenImageChecked method

ImageD GenImageChecked(
  1. num width,
  2. num height,
  3. num checksX,
  4. num checksY,
  5. ColorD col1,
  6. ColorD col2,
)

Implementation

ImageD GenImageChecked(
  num width,
  num height,
  num checksX,
  num checksY,
  ColorD col1,
  ColorD col2,
) => run(
  () => 'GenImageChecked($width, $height, $checksX, $checksY, $col1, $col2)',
  () => rl.Temp.Image$.RefCapture(
    'GenImageChecked_${width}_$height',
    rl.Core.GenImageChecked(
      width.toInt(),
      height.toInt(),
      checksX.toInt(),
      checksY.toInt(),
      rl.Temp.Color$.Ref1(col1).ref,
      rl.Temp.Color$.Ref2(col2).ref,
    ),
  ),
);