- gen_rectangle1 (Rectangle, 100, 100, 300, 300)
- gen_contour_region_xld (Rectangle, Contours, 'border')
- dilation_rectangle1 (Rectangle, RegionDilation, 21, 21)
- gen_contour_region_xld (RegionDilation, Contours1, 'border')
- gen_empty_obj (ObjectArray)
- concat_obj (ObjectArray, Contours, ObjectArray)
- concat_obj (ObjectArray, Contours1, ObjectArray)
复制代码 这里的ObjectArray就是你要的效果了,类似Connection之后的效果。
顺便说一句,HDevelop中图形数组只能用算子进行,ObjectArray[1]取下标这种取控制类型数据方式不可取
在图形数组中,取对象,需要用select_obj(图形数组,输出对象,索引值) 算子
而在C#中就可以使用ObjectArray[1]方式取对象了(图形数组的起始索引是从1开始)
|