Given ArrayA ( this array ) and ArrayB ( not this array ), combines ArrayB with ArrayA at the specified index in ArrayA.
int32 Combine( Color565Array p_oArrayB, int32 p_nInsertIndex )
Parameter Type | Parameter Name | Documentation |
---|---|---|
<Color565Array> | p_oArrayB | The array to combine with the destination array. |
int32 | p_nInsertIndex | The index at which to insert the source array into the destination array. |
import library "type_color_array_util.ssl";
auto Color565 red = new Color565( 255, 255, 255, 255 );
auto Color565Array a = new Color565Array( 4, red );
auto Color565 blue = new Color565( 128, 128, 128, 128 );
auto Color565Array b = new Color565Array( 4, blue );
a.Combine( b, 2 );
LibColor565Array.Out( a );
255,
255,
255,
255,
255,
16,
132,
16,
132,
16,
132,
16,
132,
255,
255,
255,
255,
105,
111,
110,
77,
111,
100,
117,
108,
101,
73,
110,
102,
111,
0,
112,
0