Draw line within an image (Vector version).
Arguments
- dst
An image.
- start
A numeric vector of length 2 or a numeric matrix of width 2.
- end
A numeric vector of length 2 or a numeric matrix of width 2.
- color
A color or a list of colors.
Note
This function is vectorized to allow for faster drawing. This function has been auto-generated from the following Raylib function definition:
void ImageDrawLineV(Image *dst, Vector2 start, Vector2 end, Color color);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(),
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_canvas(),
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()
Other draw functions:
draw_billboard(),
draw_bounding_box(),
draw_circle_3d(),
draw_circle_gradient(),
draw_circle_lines(),
draw_circle_sector_lines(),
draw_circle_sector(),
draw_circle_v(),
draw_circle(),
draw_cube_texture_rec(),
draw_cube_texture(),
draw_cube_v(),
draw_cube_wires_v(),
draw_cube_wires(),
draw_cube(),
draw_cylinder_ex(),
draw_cylinder_wires_ex(),
draw_cylinder_wires(),
draw_cylinder(),
draw_ellipse_lines(),
draw_ellipse(),
draw_fps(),
draw_grid(),
draw_line_3d(),
draw_line_bezier_cubic(),
draw_line_bezier_quad(),
draw_line_bezier(),
draw_line_ex(),
draw_line_v(),
draw_line(),
draw_model_ex(),
draw_model_wires(),
draw_model(),
draw_pixel_v(),
draw_pixel(),
draw_plane(),
draw_point_3d(),
draw_poly_lines_ex(),
draw_poly_lines(),
draw_poly(),
draw_ray(),
draw_rectangle_gradient_ex(),
draw_rectangle_gradient_h(),
draw_rectangle_gradient_v(),
draw_rectangle_lines_ex(),
draw_rectangle_lines(),
draw_rectangle_pro(),
draw_rectangle_rec(),
draw_rectangle_rounded_lines(),
draw_rectangle_rounded(),
draw_rectangle_v(),
draw_rectangle(),
draw_ring_lines(),
draw_ring(),
draw_sphere_ex(),
draw_sphere_wires(),
draw_sphere(),
draw_text_codepoint(),
draw_text_ex(),
draw_text_pro(),
draw_texture_ex(),
draw_texture_npatch(),
draw_texture_poly(),
draw_texture_pro(),
draw_texture_quad(),
draw_texture_rec(),
draw_texture_tiled(),
draw_texture_v(),
draw_texture(),
draw_text(),
draw_triangle_3d(),
draw_triangle_lines(),
draw_triangle_strip_3d(),
draw_triangle(),
image_draw_circle_v(),
image_draw_circle(),
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()
Other line functions:
check_collision_point_line(),
draw_line_3d(),
draw_line_bezier_cubic(),
draw_line_bezier_quad(),
draw_line_bezier(),
draw_line_ex(),
draw_line_v(),
draw_line(),
image_draw_line()
