iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
ISCIAnnotationAdornerAction
@protocol ISCIAnnotationAdornerAction <NSObject>
Defines the interface for adorner action which is used during interfaction with ISCIAnnotation.
-
Called when adorner drag starts.
Declaration
Objective-C
- (void)onAdornerDragStartedAt:(CGPoint)startPoint;Swift
func onAdornerDragStarted(at startPoint: CGPoint)Parameters
startPointThe
x-y coordinatein pixels relative to parentISCIAdornerLayer. -
Called when adorner is dragged.
Declaration
Objective-C
- (void)onAdornerDragByXDelta:(CGFloat)xDelta yDelta:(CGFloat)yDelta;Swift
func onAdornerDrag(byXDelta xDelta: CGFloat, yDelta: CGFloat)Parameters
xDeltaThe horizontal offset in pixels.
yDeltaThe vertical offset in pixels.
-
Called when adorner drag ends.
Declaration
Objective-C
- (void)onAdornerDragEnded;Swift
func onAdornerDragEnded()
View on GitHub