Fill Data Member Function

Sets all the items in the array to this value.

Prototype

int32 Fill( Color565 p_oColor )

Parameters

Parameter Type Parameter Name Documentation
<Color565>p_oColorA pointer to the <Color565> object containing the value to set for all items in the array.

Examples

Copy Text To Clipboard

import library "type_color565_array_util.ssl";

auto Color565 red = new Color565( 255, 0, 0, 255 );

auto Color565Array data;
data.Count = 4;

data.Fill( red );

LibColor565Array.Out( data );

Results

COLOR565ARRAY OUTPUT generated by TYPE_COLOR565_ARRAY_UTIL.SSL
0,
0,
255,
255,
0,
0,
255,
255,
0,
0,
255,
255,
0,
0,
255,
255