Adds a <Color565> object to the end of the array.
int32 Add( Color565 p_oColor )
Parameter Type | Parameter Name | Documentation |
---|---|---|
<Color565> | p_oColor | A pointer to the <Color565> object to add to the array. |
auto Color565 a_oValue = new Color565( 255, 128, 64, 255 );
auto Color565Array a_aoArray;
a_aoArray.Add( a_oValue );
a_aoArray.Add( a_oValue );
a_aoArray.Add( a_oValue );
a_aoArray.Add( a_oValue );
for( int i = 0; i < a_aoArray.GetCount(); ++i )
{
Console.Out( LibColor565.Out( a_aoArray.Get( i ) ) );
}
255, 128, 64, 255
255, 128, 64, 255
255, 128, 64, 255
255, 128, 64, 255