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

SCIBrushStyle

@interface SCIBrushStyle : SCIStyle <NSCopying>

Defines a base class for specifying 2D brush style used to paint fill on the ISCIRenderSurface.

  • Gets the color for this SCIBrushStyle.

    Declaration

    Objective-C

    @property (nonatomic, readonly) UIColor *_Nonnull color;

    Swift

    var color: UIColor { get }
  • Gets the rgba color code for this SCIBrushStyle.

    Declaration

    Objective-C

    @property (nonatomic, readonly) unsigned int colorCode;

    Swift

    var colorCode: UInt32 { get }
  • Gets paint for drawing fill primitives using current SCIBrush style

    Declaration

    Objective-C

    @property (nonatomic, readonly, nonnull) id<ISCIFillPaint> paint;

    Swift

    var paint: ISCIFillPaint { get }

    Return Value

    ISCIFillPaint conforming object, which can fill primitives using current style