Function Palette.length

Gets the length of dsdl2.Colors allocated in the dsdl2.Palette

ulong length() @property @trusted const;

Returns

number of dsdl2.Colors