genImageChecked function

Image genImageChecked(
  1. int width,
  2. int height,
  3. int checksX,
  4. int checksY,
  5. Color col1,
  6. Color col2,
)

Generate image: checked.

Implementation

Image genImageChecked(
  int width,
  int height,
  int checksX,
  int checksY,
  Color col1,
  Color col2,
) {
  return Image.fromRef(
    library.GenImageChecked(
      width,
      height,
      checksX,
      checksY,
      col1.ref,
      col2.ref,
    ),
  );
}