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

SCIEllipseResizingGrip

@interface SCIEllipseResizingGrip : NSObject <ISCIResizingGrip>

Defines the default ISCIResizingGrip implementation which is used by SCIAnnotationBase which draws ellipse.

  • Creates a new istance of SCIEllipseResizingGrip class.

    Declaration

    Objective-C

    - (instancetype)initWithStokeColor:(unsigned int)strokeColor
                       strokeThickness:(float)strokeThickness
                       backgroundColor:(unsigned int)backgroundColor
                             andRadius:(float)radius;

    Swift

    init!(stokeColor strokeColor: UInt32, strokeThickness: Float, backgroundColor: UInt32, andRadius radius: Float)

    Parameters

    strokeColor

    The stroke color which is used to draw ellipse border.

    strokeThickness

    The stroke thickness which is used to draw ellipse border.

    backgroundColor

    The background color which is used to draw ellipse background.

    radius

    The radius of resizing grip in pixels.