ElementSize Data Member Function

Returns the size in bytes of each element of the array. Returns 2 because a <Color565> object requires 2 bytes of storage for each element in the array.

Prototype

int32 ElementSize()

Examples

Copy Text To Clipboard

import library "app_service_console_util.ssl";

auto Color565Array a;
Console.Out( a.ElementSize() );

Results

2 // Since 565 color is 16-bit, or 2 bytes.