The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



ColorElem


Unit: SDL_sdlcolors
Class: TColorArray
Declaration: property ColorElem[ix: longint]: TColor;

The array property ColorElem provides access to the color array. The index ix may assume any value between 1 and Size. If the index is outside the valid range, the property ColorElem returns the lowest or the highest color on read, and ignores the assigned color on write.

Hint: The ColorElem property is the default property, thus the color array may be accessed by directly indexing the color array instance (e.g. ColorArray[1]).



Last Update: 2023-Feb-06