iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x

ISCIAdornerLayer

@protocol ISCIAdornerLayer <ISCIView>

Defines the interface to the Adorner Layer, which is used to draw adorners for the ISCIAnnotation instances.

  • Adds ISCIAdornerProvider instance into this adorner layer.

    Declaration

    Objective-C

    - (void)safeAddAdorner:(id<ISCIAdornerProvider>)adornerProvider;

    Swift

    func safeAddAdorner(_ adornerProvider: ISCIAdornerProvider!)

    Parameters

    adornerProvider

    The adorner provider to add.

  • Removes ISCIAdornerProvider instance from this adorner layer.

    Declaration

    Objective-C

    - (void)safeRemoveAdorner:(id<ISCIAdornerProvider>)adornerProvider;

    Swift

    func safeRemoveAdorner(_ adornerProvider: ISCIAdornerProvider!)

    Parameters

    adornerProvider

    The adorner provider to remove.

  • Checks whether one of the adorner provider is hit at passed in point.

    Declaration

    Objective-C

    - (BOOL)isHitAdornerProviderAt:(CGPoint)point;

    Swift

    func isHitAdornerProvider(at point: CGPoint) -> Bool

    Return Value

    YES if one of the adorner providers hit, otherwise - NO.