Skip to contents

Generate image: linear gradient, direction in degrees \[0..360\], 0=Vertical gradient.

Usage

gen_image_gradient_linear(width, height, direction, start, end)

Arguments

width

An integer.

height

An integer.

direction

An integer.

start

A color.

end

A color.

Value

An image

Note

This function has been auto-generated from the following Raylib function definition:

Image GenImageGradientLinear(int width, int height, int direction, Color start, Color end);

Examples

if (FALSE) {
gen_image_gradient_linear(800L, 450L, 0L, "red", "red")
}