Represents a rectangle drawn on a chart.  
 More...
 | 
|   | DrawingRectangle (int firstBar, decimal firstPrice, int secondBar, decimal secondPrice, Pen outlinePen, Brush fillBrush) | 
|   | Initializes a new instance of the DrawingRectangle class with specified parameters.  
  | 
|   | 
|   | DrawingRectangle (int firstBar, decimal firstPrice, int secondBar, decimal secondPrice, Pen outlinePen, Brush fillBrush, Pen midPen) | 
|   | Initializes a new instance of the DrawingRectangle class with specified parameters.  
  | 
|   | 
 | 
| 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.  
  | 
|   | 
| Pen  | MiddlePen = new(DefaultColors.Gray) [get, set] | 
|   | Gets or sets the pen used to draw the middle horizontal line 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.  
  | 
|   | 
| bool  | ExtendRight [get, set] | 
|   | Gets or sets rectangle extension to right side.  
  | 
|   | 
| bool  | ExtendLeft [get, set] | 
|   | Gets or sets rectangle extension to left side.  
  | 
|   | 
| bool  | MidLineEnabled [get, set] | 
|   | Gets or sets drawing of middle horizontal line of rectangle.  
  | 
|   | 
Represents a rectangle drawn on a chart. 
 
◆ DrawingRectangle() [1/2]
      
        
          | 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
 - 
  
    | firstBar | The index of the first bar. | 
    | firstPrice | The price value of the first point. | 
    | secondBar | The index of the second bar. | 
    | secondPrice | The price value of the second point. | 
    | outlinePen | The pen used to draw the outline of the rectangle. | 
    | fillBrush | The brush used to fill the rectangle. | 
  
   
 
 
◆ DrawingRectangle() [2/2]
      
        
          | ATAS.Indicators.Drawing.DrawingRectangle.DrawingRectangle  | 
          ( | 
          int  | 
          firstBar,  | 
        
        
           | 
           | 
          decimal  | 
          firstPrice,  | 
        
        
           | 
           | 
          int  | 
          secondBar,  | 
        
        
           | 
           | 
          decimal  | 
          secondPrice,  | 
        
        
           | 
           | 
          Pen  | 
          outlinePen,  | 
        
        
           | 
           | 
          Brush  | 
          fillBrush,  | 
        
        
           | 
           | 
          Pen  | 
          midPen  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Initializes a new instance of the DrawingRectangle class with specified parameters. 
- Parameters
 - 
  
    | firstBar | The index of the first bar. | 
    | firstPrice | The price value of the first point. | 
    | secondBar | The index of the second bar. | 
    | secondPrice | The price value of the second point. | 
    | outlinePen | The pen used to draw the outline of the rectangle. | 
    | fillBrush | The brush used to fill the rectangle. | 
    | midPen | The pen used to draw the middle horizontal line of the rectangle. | 
  
   
 
 
◆ Brush
  
  
      
        
          | Brush ATAS.Indicators.Drawing.DrawingRectangle.Brush | 
         
       
   | 
  
getset   | 
  
 
Gets or sets the brush used to fill the rectangle. 
 
 
◆ ExtendLeft
  
  
      
        
          | bool ATAS.Indicators.Drawing.DrawingRectangle.ExtendLeft | 
         
       
   | 
  
getset   | 
  
 
Gets or sets rectangle extension to left side. 
 
 
◆ ExtendRight
  
  
      
        
          | bool ATAS.Indicators.Drawing.DrawingRectangle.ExtendRight | 
         
       
   | 
  
getset   | 
  
 
Gets or sets rectangle extension to right side. 
 
 
◆ 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. 
 
 
◆ MiddlePen
  
  
      
        
          | Pen ATAS.Indicators.Drawing.DrawingRectangle.MiddlePen = new(DefaultColors.Gray) | 
         
       
   | 
  
getset   | 
  
 
Gets or sets the pen used to draw the middle horizontal line of the rectangle. 
 
 
◆ MidLineEnabled
  
  
      
        
          | bool ATAS.Indicators.Drawing.DrawingRectangle.MidLineEnabled | 
         
       
   | 
  
getset   | 
  
 
Gets or sets drawing of middle horizontal line of rectangle. 
 
 
◆ 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: