Copy Data Member Function

Copies the value of the source array into this array.

Prototype

int32 Copy( Color565Array p_oSource )

Parameters

Parameter Type Parameter Name Documentation
<Color565Array>p_oSourcePointer to an array containing the values to copy.

Examples

Copy Text To Clipboard

import library "type_color565_array_util.ssl";

auto Color565 red = new Color565( 255, 0, 0, 255 );
auto Color565Array a = new Color565Array( 4, red );

auto Color565Array b;
b.Copy( a );

LibColor565Array.Out2D( b, 4, 4 );

Results

0, 0, 255, 255,
0, 0, 255, 255,
0, 0, 255, 255,
0, 0, 255, 255