Class TAdColorList

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TAdColorList = class(TAdList)

Description

Contains a variable count of color values and returns an interpolated color between two of them. This class is used in the particle system.

Hierarchy

Overview

Methods

Public function GetColor(Max,Pos:double):TAndorraColor;
Public function Add(AColor:TAndorraColor): integer;
Public procedure Insert(AIndex: integer; AColor: TAndorraColor);
Public procedure SaveToStream(AStream:TStream);
Public procedure LoadFromStream(AStream:TStream);

Properties

Public property Items[AIndex:integer]: TAndorraColor read GetItem write SetItem;

Description

Methods

Public function GetColor(Max,Pos:double):TAndorraColor;

Returns a mixed color value. Max represents a maximum value, which pos is relative to.

Public function Add(AColor:TAndorraColor): integer;

Add a color to the lists

Public procedure Insert(AIndex: integer; AColor: TAndorraColor);

Inserts a color to the specified position

Public procedure SaveToStream(AStream:TStream);

Save the color list to the stream

Public procedure LoadFromStream(AStream:TStream);

Load the color list from a stream

Properties

Public property Items[AIndex:integer]: TAndorraColor read GetItem write SetItem;

The "items" property of a list

SourceForge.net Logo


Generated by PasDoc 0.11.0 on 2008-12-31 14:31:58