GenImageGradientLinear method
Implementation
@override
ImageD GenImageGradientLinear(
num width,
num height,
num direction,
ColorD start,
ColorD end,
) => run(
() => RaylibDebugLabels.GenImageGradientLinear(width, height, direction, start, end),
() => rl.Temp.Image$.RefCapture(
RaylibCaptureIds.GenImageGradientLinear(width, height, direction, start, end),
(_) => rl.Core.GenImageGradientLinear(
width.toInt(),
height.toInt(),
direction.toInt(),
rl.Temp.Color$.Ref1(start).ref,
rl.Temp.Color$.Ref2(end).ref,
),
),
);