ATAS
Loading...
Searching...
No Matches
ATAS.Indicators.Drawing.DrawingRectangle Class Reference

Represents a rectangle drawn on a chart. More...

Public Member Functions

 DrawingRectangle (int firstBar, decimal firstPrice, int secondBar, decimal secondPrice, Pen outlinePen, Brush fillBrush)
 Initializes a new instance of the DrawingRectangle class with specified parameters.
 

Properties

Brush Brush [get, set]
 Gets or sets the brush used to fill the rectangle.
 
Pen Pen [get, set]
 Gets or sets the pen used to draw the outline of the rectangle.
 
int FirstBar [get, set]
 Gets or sets the index of the first bar.
 
int SecondBar [get, set]
 Gets or sets the index of the second bar.
 
decimal FirstPrice [get, set]
 Gets or sets the price value of the first point.
 
decimal SecondPrice [get, set]
 Gets or sets the price value of the second point.
 

Detailed Description

Represents a rectangle drawn on a chart.

Constructor & Destructor Documentation

◆ DrawingRectangle()

ATAS.Indicators.Drawing.DrawingRectangle.DrawingRectangle ( int  firstBar,
decimal  firstPrice,
int  secondBar,
decimal  secondPrice,
Pen  outlinePen,
Brush  fillBrush 
)

Initializes a new instance of the DrawingRectangle class with specified parameters.

Parameters
firstBarThe index of the first bar.
firstPriceThe price value of the first point.
secondBarThe index of the second bar.
secondPriceThe price value of the second point.
outlinePenThe pen used to draw the outline of the rectangle.
fillBrushThe brush used to fill the rectangle.

Property Documentation

◆ Brush

Brush ATAS.Indicators.Drawing.DrawingRectangle.Brush
getset

Gets or sets the brush used to fill the rectangle.

◆ FirstBar

int ATAS.Indicators.Drawing.DrawingRectangle.FirstBar
getset

Gets or sets the index of the first bar.

◆ FirstPrice

decimal ATAS.Indicators.Drawing.DrawingRectangle.FirstPrice
getset

Gets or sets the price value of the first point.

◆ Pen

Pen ATAS.Indicators.Drawing.DrawingRectangle.Pen
getset

Gets or sets the pen used to draw the outline of the rectangle.

◆ SecondBar

int ATAS.Indicators.Drawing.DrawingRectangle.SecondBar
getset

Gets or sets the index of the second bar.

◆ SecondPrice

decimal ATAS.Indicators.Drawing.DrawingRectangle.SecondPrice
getset

Gets or sets the price value of the second point.


The documentation for this class was generated from the following file: