Table of Contents

TUIColorBlend Class

Defines a complex gradient by using an array of TUIGradientStop

Syntax

Namespace: FlexCel.Core

public class TUIColorBlend

Constructors

Name Description
TUIColorBlend Creates a color blend with n stops.

Methods

Name Description
EnsureMinimum​AndMaximum Makes sure the blend has at least 2 stops, one at position 0 and the other at position 1.
HasInterpolation​Colors Returns false if the gradient has only 2 colors: one at the start and one at the end.
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.

Properties

Name Description
Count Number of gradient stops in the blend definition.
this[] Returns a particular stop in the blend.