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

SCISolidBrushStyle

@interface SCISolidBrushStyle : SCIBrushStyle

Defines brush style which allows to fill shapes with solid color.

  • Provides default instance of SCISolidBrushStyle.

    Declaration

    Objective-C

    @property (readonly, nonatomic, class)
        SCISolidBrushStyle *_Nonnull defaultBrushStyle;

    Swift

    class var `default`: SCISolidBrushStyle { get }
  • Creates a new SCISolidBrushStyle instance.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithColorCode:(unsigned int)colorCode;

    Swift

    init(colorCode: UInt32)

    Parameters

    colorCode

    The fill color ARGB code for this brush style.

  • Creates a new SCISolidBrushStyle instance.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithColor:(nonnull UIColor *)color;

    Swift

    init(color: UIColor)

    Parameters

    color

    The fill color for this brush style.