ChartNodeSetGradient Method (Color, Color, Color, Color) |
Sets the value of the "Gradient" attribute.
Namespace: Imsl.Chart2DAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax public virtual void SetGradient(
Color colorLL,
Color colorLR,
Color colorUR,
Color colorUL
)
Public Overridable Sub SetGradient (
colorLL As Color,
colorLR As Color,
colorUR As Color,
colorUL As Color
)
public:
virtual void SetGradient(
Color colorLL,
Color colorLR,
Color colorUR,
Color colorUL
)
abstract SetGradient :
colorLL : Color *
colorLR : Color *
colorUR : Color *
colorUL : Color -> unit
override SetGradient :
colorLL : Color *
colorLR : Color *
colorUR : Color *
colorUL : Color -> unit
Parameters
- colorLL
- Type: System.DrawingColor
A Color value which specifies the color of the lower left
corner.
- colorLR
- Type: System.DrawingColor
A Color value which specifies the color of the lower right
corner.
- colorUR
- Type: System.DrawingColor
A Color value which specifies the color of the upper right
corner.
- colorUL
- Type: System.DrawingColor
A Color value which specifies the color of the upper left
corner.
Remarks This attribute defines a color gradient used to fill regions.
Only two of the four colors given are actually used.
Parameter Values | Result |
---|
colorLL==colorLR and colorUL==colorUR | A vertical gradient is drawn. |
colorLL==colorUL and colorLR==colorUR | A horizontal gradient is drawn. |
colorLR== null and colorUL== null | A diagonal gradient is drawn. |
colorLL== null and colorUR== null | A diagonal gradient is drawn. |
See Also