Skip to contents

Resize canvas and fill with color.

Usage

image_resize_canvas(image, new_width, new_height, offset_x, offset_y, fill)

Arguments

image

An image.

new_width

An integer.

new_height

An integer.

offset_x

An integer.

offset_y

An integer.

fill

A color.

Note

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

void ImageResizeCanvas(Image *image, int newWidth, int newHeight, int offsetX, int offsetY, Color fill);