Insert

Graphics32

TPaintStages.Insert

function Insert(Index: Integer): PPaintStage;

Description

Insert a new stage into the list at specified position and returns a pointer to it.

Index indicates the position, where the new stage is inserted. The item that occupied that position before insertion, is shifted up together with all subsequent items.

If Index is greater than the number of stages, the new stage will be added at the end of the list. Similarly, if Index is less or equal than zero, all previous elements are shifted up and the new stage is inserted in the beginning of the list.

By default, new stages have their RunTime member set to True.

See Also

Add, Delete, TPaintStage