TUIColorBlend Class
Defines a complex gradient by using an array of TUIGradientStop
Syntax
Unit: FlexCel.Core
TUIColorBlend = class(TFlexCelObject);
Constructors
Name |
Description |
Create |
Creates a color blend with n stops.
|
Methods
Name |
Description |
EnsureMinimumAndMaximum |
Makes sure the blend has at least 2 stops, one at position 0 and the other at position 1.
|
InvertColorBlend |
Reverts the color blend, moving the stop at position 0 to 1, the stop at 1 to 0, and mirroring all other stops in the middle.
|
SortAscending |
Sorts the gradient stops from the lowest position to the largest.
|
HasInterpolationColors |
Returns false if the gradient has only 2 colors: one at the start and one at the end.
|
Properties
Name |
Description |
Count |
Number of gradient stops in the blend definition.
|
Item[const index] |
Returns a particular stop in the blend.
|