TUILinearGradientBrush.CreateNew Method
This method will return the appropriate Brush depending in the Graphics framework you are using to render images.
Syntax
Unit: FlexCel.Core
class function TUILinearGradientBrush.CreateNew(const CellRect: TUIRectangle; const Color1: TUIColor; const Color2: TUIColor; const Rotation: Double; const IsAngleScalable: Boolean): TUILinearGradientBrush; static;
Parameters
<-> |
Parameter |
Type |
Description |
const |
CellRect |
TUIRectangle |
|
const |
Color1 |
TUIColor |
|
const |
Color2 |
TUIColor |
|
const |
Rotation |
Double |
|
const |
IsAngleScalable |
Boolean |
|
See also