iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
SCIMultiPointAnnotationBase
@interface SCIMultiPointAnnotationBase
: SCITradingAnnotationBase <ISCITradingAnnotation>
Defines a base class for trading drawing tools which are defined by a fixed number of base points and rendered as a group of child annotations.
This class implements the interaction plumbing shared by all such tools - one resizing grip per base point, grip dragging, whole-annotation dragging, hit-testing and culling - so that concrete tools only need to describe their geometry.
Note
Line thickness and dash pattern come from the inheritedstroke SCIPenStyle. Concrete
tools add their own SCIPenStyle and SCIBrushStyle properties for the parts they draw.
Subclasses must override placementPointCount and onBasePointsChanged.
-
Gets the number of base points required to fully place this annotation.
Declaration
Objective-C
@property (nonatomic, readonly) NSInteger placementPointCount;Swift
var placementPointCount: Int { get }
View on GitHub