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

SCIDefaultAnnotationSelectionDrawable

@interface SCIDefaultAnnotationSelectionDrawable
    : NSObject <ISCIAnnotationSelectionDrawable>

Default implementation of ISCIAnnotationSelectionDrawable which draws selection overlay with stroke.

  • Creates a new instance of SCIDefaultAnnotationSelectionDrawable class.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithColor:(unsigned int)color
                                  opacity:(float)opacity
                           andStrokeWidth:(float)strokeWidth;

    Swift

    init(color: UInt32, opacity: Float, andStrokeWidth strokeWidth: Float)

    Parameters

    color

    The color of selection overlay.

    opacity

    The opacity of selection overlay.

    strokeWidth

    The stroke width of selection overlay.