Construct a ChartRectangle object.

Namespace: RightEdge.Common.ChartObjects
Assembly: Common (in Common.dll) Version: 2010.1.0.0 (2010.1.0.0)

Syntax

C#
public ChartRectangle(
	ChartPoint leftPoint,
	ChartPoint rightPoint,
	Color color,
	int width
)
Visual Basic
Public Sub New ( 
	leftPoint As ChartPoint,
	rightPoint As ChartPoint,
	color As Color,
	width As Integer
)
Visual C++
public:
ChartRectangle(
	ChartPoint leftPoint, 
	ChartPoint rightPoint, 
	Color color, 
	int width
)
F#
new : 
        leftPoint : ChartPoint * 
        rightPoint : ChartPoint * 
        color : Color * 
        width : int -> ChartRectangle

Parameters

leftPoint
Type: RightEdge.Common..::..ChartPoint
A non-empty, valid ChartPoint object that represents the left point of the rectangle.
rightPoint
Type: RightEdge.Common..::..ChartPoint
A non-empty, valid ChartPoint object that represents the right point of the rectangle.
color
Type: System.Drawing..::..Color
Specify the color of the rectangle line.
width
Type: System..::..Int32
Specify the width of the rectangle line.

See Also