TUILinearGradientBrush Class Represents a platform independent linear gradient. Syntax Namespace: FlexCel.Core public abstract class TUILinearGradientBrush: TUIBrush Methods Name Description Create This method will return the appropriate Brush depending in the Graphics framework you are using to render images. CalculateTransformElements Calculates the transform elements given a rotation and a rectangle, for platforms that can't calculate it. CalcRotatedCoords Returns the rotated coordinates for the gradient, needed to define in platforms like PDF or OSX. InvertBlend Inverts the colors of the gradient. Operators Name Description Implicit Conversion Creates a UIBrush from a given System.Drawing.Brush. Important: When you do an implicit conversion, the TUIBrush will take ownership of the brush, and the original System.Drawing.Brush will be disposed when you dispose this class. Properties Name Description Rectangle Rectangle that defines the gradient. TransformElements Transform matrix. InterpolationColors Colors that define the gradient.