Resize canvas and fill with color.
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);See also
image() for creating image objects.
color() for creating color objects.
Other image functions:
export_image_as_code(),
export_image(),
gen_image_cellular(),
gen_image_checked(),
gen_image_color(),
gen_image_gradient_h(),
gen_image_gradient_radial(),
gen_image_gradient_v(),
gen_image_white_noise(),
get_image_alpha_border(),
get_image_color(),
image_alpha_clear(),
image_alpha_crop(),
image_alpha_mask(),
image_alpha_premultiply(),
image_clear_background(),
image_color_brightness(),
image_color_contrast(),
image_color_grayscale(),
image_color_invert(),
image_color_replace(),
image_color_tint(),
image_copy(),
image_crop(),
image_dither(),
image_draw_circle_v(),
image_draw_circle(),
image_draw_line_v(),
image_draw_line(),
image_draw_pixel_v(),
image_draw_pixel(),
image_draw_rectangle_lines(),
image_draw_rectangle_rec(),
image_draw_rectangle_v(),
image_draw_rectangle(),
image_draw_text_ex(),
image_draw_text(),
image_draw(),
image_flip_horizontal(),
image_flip_vertical(),
image_format(),
image_from_image(),
image_mipmaps(),
image_resize_nn(),
image_resize(),
image_rotate_ccw(),
image_rotate_cw(),
image_text_ex(),
image_text(),
image_to_pot(),
load_font_from_image(),
load_image_from_screen(),
load_image_from_texture(),
load_image_raw(),
load_image(),
load_texture_from_image(),
unload_image_colors(),
unload_image_palette(),
unload_image()
