RAD Studio VCL Reference
|
Sorts a TColorArray.
procedure SortColorArray(ColorArray: TColorArray; L: Integer; R: Integer; SortType: TColorArraySortType; Reverse: Boolean = False);
SortColorArray(TColorArray ColorArray, int L, int R, TColorArraySortType SortType, Boolean Reverse = False);
SortColorArray performs a quick sort over a TColorArray
ColorArray represents the color array: TColorArray.
L represents the leftmost element.
R represents the rightmost element.
SortType is the sort criterion: TColorArraySortType.
Reverse gives the option of reversing the sorted array. By default it is false and it is optional.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|