Sets all the items in the array to this value.
int32 Fill( Color565 p_oColor )
Parameter Type | Parameter Name | Documentation |
---|---|---|
<Color565> | p_oColor | A pointer to the <Color565> object containing the value to set for all items in the array. |
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 );
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