
iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
ISCIResizingGrip
@protocol ISCIResizingGrip <NSObject>
Defines the protocol for Resizing Grip which is used to resize ISCIAnnotation
instance.
-
Draw this resizing grip at specified point.
Declaration
Objective-C
- (void)onDrawGripAt:(CGPoint)point inCGContext:(nonnull CGContextRef)context;
Parameters
point
The coordinates of point to draw in pixels.
context
The
CGContext
to draw resizing grip on. -
Checks whether this reising grip is hit.
Declaration
Objective-C
- (BOOL)isHitAtPoint:(CGPoint)hitPoint andDrawnPoint:(CGPoint)drawnPoint;
Parameters
hitPoint
The hit test point in pixels.
drawnPoint
The point where resizing grip was drawn.
Return Value
YES - if hit test point is within resizing grip, otherwise NO;