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

Represents a class for drawing text on a chart with additional alignment options. More...

Inheritance diagram for ATAS.Indicators.Drawing.DrawingText:
[legend]
Collaboration diagram for ATAS.Indicators.Drawing.DrawingText:
[legend]

Public Types

enum  TextAlign { Left , Right , Center }
 Gets or sets the alignment of the text. More...
 

Public Member Functions

 DrawingText (decimal tickSize)
 Initializes a new instance of the DrawingText class with the specified tick size.
 
- Public Member Functions inherited from ATAS.Indicators.Drawing.BaseDrawingText
override string ToString ()
 Returns a string representation of the object.
 

Properties

TextAlign Align = TextAlign.Center [get, set]
 Gets or sets the text alignment.
 
int Price [get, set]
 Gets or sets the price value associated with the text.
 
decimal TickSize [get]
 Gets the tick size value used for calculations.
 
decimal TextPrice [get, set]
 Gets or sets the price value associated with the text (in decimal).
 
- Properties inherited from ATAS.Indicators.Drawing.BaseDrawingText
int XOffset [get, set]
 Gets or sets the X-axis offset of the text.
 
string Tag [get, set]
 Gets or sets a tag associated with the text.
 
string Text [get, set]
 Gets or sets the text to be displayed.
 
int Bar [get, set]
 Gets or sets the index of the bar where the text is displayed.
 
int YOffset [get, set]
 Gets or sets the Y-axis offset of the text.
 
bool IsAbovePrice [get, set]
 Gets or sets a value indicating whether the text is displayed above the price.
 
Color Textcolor [get, set]
 Gets or sets the color of the text.
 
Color Outlinecolor [get, set]
 Gets or sets the color of the outline of the text.
 
Color FillColor [get, set]
 Gets or sets the fill color of the text.
 
bool AutoSize [get, set]
 Gets or sets a value indicating whether the text size is automatically adjusted.
 
float FontSize [get, set]
 Gets or sets the font size of the text.
 
Font TextFont = new Font("Arial", 9F, FontStyle.Regular, GraphicsUnit.Point, 204) [get, set]
 Gets or sets the font used for the text.
 

Detailed Description

Represents a class for drawing text on a chart with additional alignment options.

Member Enumeration Documentation

◆ TextAlign

Gets or sets the alignment of the text.

Enumerator
Left 

The text is aligned to the left side.

Right 

The text is aligned to the right side.

Center 

The text is centered.

Constructor & Destructor Documentation

◆ DrawingText()

ATAS.Indicators.Drawing.DrawingText.DrawingText ( decimal  tickSize)

Initializes a new instance of the DrawingText class with the specified tick size.

Parameters
tickSizeThe tick size used for calculations.

Property Documentation

◆ Align

TextAlign ATAS.Indicators.Drawing.DrawingText.Align = TextAlign.Center
getset

Gets or sets the text alignment.

◆ Price

int ATAS.Indicators.Drawing.DrawingText.Price
getset

Gets or sets the price value associated with the text.

◆ TextPrice

decimal ATAS.Indicators.Drawing.DrawingText.TextPrice
getset

Gets or sets the price value associated with the text (in decimal).

◆ TickSize

decimal ATAS.Indicators.Drawing.DrawingText.TickSize
get

Gets the tick size value used for calculations.


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