iOS Charting Documentation - SciChart iOS Charts SDK v3.x

SCISolidBrushStyle

@interface SCISolidBrushStyle : SCIBrushStyle

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

  • 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.