| 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]). |
|