insert_obj — Insert objects into an iconic object tuple. 插入对象到图标对象数组中
*以下实例展示了,在垂直两张图像中,插入一张蓝莓图像
dev_update_off ()
dev_close_window ()
dev_open_window (0, 0, 640, 480, 'white', WindowHandle)
set_display_font (WindowHandle, 16, 'mono', 'true', 'false')
*
* 加载苹果、胡萝卜和蓝莓的图像
read_image (Images, ['food/vegetables/apple_1','food/vegetables/carrot_1'])
read_image (ImageBlueberry, 'food/vegetables/blueberry_1')
*
* There are two objects in the iconic array.
*图标数组中有两个对象
tile_images (Images, TiledImage, 1, 'vertical')
dev_display (TiledImage)
dev_disp_text ('图标数组中有两个对象', 'window', 'top', 'left', 'black', 'box_color', '#00ffffc4')
stop ()
*
*图像数组,第一个元素后插入蓝莓图像
insert_obj (Images, ImageBlueberry, ImagesExtended, 2)
tile_images (ImagesExtended, ImagesExtendedTiled, 1, 'vertical')
dev_display (ImagesExtendedTiled)
dev_disp_text ('两张图像中间插入一张图像', 'window', 'top', 'left', 'black', 'box_color', '#00ffffc4')
标签:蓝莓,food,Object,dev,插入,window,图像,基本操作 From: https://www.cnblogs.com/echo-efun/p/18058179