genImageColor function

Image genImageColor(
  1. int width,
  2. int height,
  3. Color color
)

Generate image: plain color.

Implementation

Image genImageColor(
  int width,
  int height,
  Color color,
) {
  return Image.fromRef(library.GenImageColor(width, height, color.ref));
}