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



ColorData


Unit:SDL_rot3d
Class:TRot3D
Declaration:property ColorData: TColor;

The property ColorData specifies the color of the data items drawn next. The color is stored internally along with the graphics objects so that each graphics object can have a different color. See also the Delphi documentation for details on the TColor type.

Please note, that for performance reasons the class TRot3D can display a maximum of only 32 different data colors (out of approx. 16 million). These colors are cached when the method MakeVisible is called. The cache contains by default the 16 basic system colors. The remaining 16 colors are filled up as needed.

ROT3DCOL.gif

Example: This property is used in the following example program (see http://www.lohninger.com/examples.html for downloading the code): exrot3d



Last Update: 2012-Oct-20