Represents a class for drawing text on a chart with additional alignment options.
More...
|
| DrawingText (decimal tickSize) |
| Initializes a new instance of the DrawingText class with the specified tick size.
|
|
override string | ToString () |
| Returns a string representation of the object.
|
|
|
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).
|
|
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.
|
|
Represents a class for drawing text on a chart with additional alignment options.
◆ 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.
|
◆ DrawingText()
ATAS.Indicators.Drawing.DrawingText.DrawingText |
( |
decimal |
tickSize | ) |
|
Initializes a new instance of the DrawingText class with the specified tick size.
- Parameters
-
tickSize | The tick size used for calculations. |
◆ Align
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: