IAnnotationPlacementStrategy

StockSharp.Xaml.Charting.StrategyManager

Defines the interface for methods which allows to place annotation

メソッド

GetBasePoints(AnnotationCoordinates) : Point[]

Gets base points for annotation instance

coordinates
IsInBounds(AnnotationCoordinates, IAnnotationCanvas) : bool

Checks whether coordinates are within canvas bounds

coordinates
annotationCanvas
MoveAnnotationTo(AnnotationCoordinates, double, double, IAnnotationCanvas)

Moves the annotation to a specific horizontal and vertical offset

coordinates
horizontalOffset
verticalOffset
annotationCanvas
PlaceAnnotation(AnnotationCoordinates)

Places annotation with specific annotation coordinates

coordinates
SetBasePoint(Point, int)

Sets base point for annotation

newPoint
index