genImageGradientV function
Generate image: vertical gradient.
Implementation
Image genImageGradientV(
int width,
int height,
Color top,
Color bottom,
) {
return Image.fromRef(
library.GenImageGradientV(
width,
height,
top.ref,
bottom.ref,
),
);
}