tbapi.api.interfaces.idrawing_annotation
1from __future__ import annotations 2from typing import TYPE_CHECKING 3from tbapi.common.decorators import tb_interface 4from tbapi.common.converters import to_python_datetime, to_net_datetime 5from datetime import datetime 6from Tickblaze.Scripts.Api.Interfaces import IDrawingAnnotation as _IDrawingAnnotation 7from typing import Any, overload 8from abc import ABC, abstractmethod 9if TYPE_CHECKING: 10 from tbapi.api.interfaces.ichart_points import IChartPoints 11 12@tb_interface(_IDrawingAnnotation) 13class IDrawingAnnotation(): 14 """Represents a drawing annotation on a chart, typically used for visual elements such as lines, shapes, or markers. It contains a collection of points that define the shape or path of the annotation on the chart.""" 15 16 @property 17 def points(self) -> IChartPoints: 18 """Gets the collection of points associated with the drawing annotation.""" 19 from tbapi.api.interfaces.ichart_points import IChartPoints 20 val = self._value.Points 21 return IChartPoints(_existing=val)
@tb_interface(_IDrawingAnnotation)
class
IDrawingAnnotation:
18@tb_interface(_IDrawingAnnotation) 19class IDrawingAnnotation(): 20 """Represents a drawing annotation on a chart, typically used for visual elements such as lines, shapes, or markers. It contains a collection of points that define the shape or path of the annotation on the chart.""" 21 22 @property 23 def points(self) -> IChartPoints: 24 """Gets the collection of points associated with the drawing annotation.""" 25 from tbapi.api.interfaces.ichart_points import IChartPoints 26 val = self._value.Points 27 return IChartPoints(_existing=val)
Represents a drawing annotation on a chart, typically used for visual elements such as lines, shapes, or markers. It contains a collection of points that define the shape or path of the annotation on the chart.
22 @property 23 def points(self) -> IChartPoints: 24 """Gets the collection of points associated with the drawing annotation.""" 25 from tbapi.api.interfaces.ichart_points import IChartPoints 26 val = self._value.Points 27 return IChartPoints(_existing=val)
Gets the collection of points associated with the drawing annotation.