Class PathGradientFill
Class represents the path gradient fill.
Inheritance
System.Object
PathGradientFill
Assembly: FastReport.Base.dll
Syntax
public class PathGradientFill : FillBase
Constructors
PathGradientFill()
Declaration
public PathGradientFill()
PathGradientFill(Color, Color, PathGradientStyle)
Declaration
public PathGradientFill(Color centerColor, Color edgeColor, PathGradientStyle style)
Parameters
Type |
Name |
Description |
Color |
centerColor |
Center color.
|
Color |
edgeColor |
Edge color.
|
PathGradientStyle |
style |
Gradient style.
|
Properties
CenterColor
Gets or sets the center color of the gradient.
Declaration
public Color CenterColor { get; set; }
Property Value
EdgeColor
Gets or sets the edge color of the gradient.
Declaration
public Color EdgeColor { get; set; }
Property Value
IsTransparent
Declaration
public override bool IsTransparent { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Style
Gets or sets the style of the gradient.
Declaration
public PathGradientStyle Style { get; set; }
Property Value
Methods
Clone()
Declaration
public override FillBase Clone()
Returns
Overrides
CreateBrush(RectangleF)
Declaration
public override Brush CreateBrush(RectangleF rect)
Parameters
Type |
Name |
Description |
RectangleF |
rect |
|
Returns
Overrides
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.Object.Equals(System.Object)
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()
Serialize(FRWriter, String, FillBase)
Declaration
public override void Serialize(FRWriter writer, string prefix, FillBase fill)
Parameters
Overrides