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.

Warning

Designed to be an abstract class, hence should be used for inheritance only. No direct initializations.
  • Provides default instance of SCISolidPenStyle.

    Declaration

    Objective-C

    @property (class, nonatomic, readonly) SCIBrushStyle *_Nonnull DEFAULT;
  • Provides transparent (clear) instance of SCISolidPenStyle.

    Declaration

    Objective-C

    @property (class, nonatomic, readonly) SCIBrushStyle *_Nonnull TRANSPARENT;
  • Gets the color for this SCIBrushStyle.

    Declaration

    Objective-C

    @property (nonatomic, readonly) UIColor *_Nonnull color;
  • Gets the rgba color code for this SCIBrushStyle.

    Declaration

    Objective-C

    @property (nonatomic, readonly) unsigned int colorCode;
  • Gets paint for drawing fill primitives using current SCIBrush style

    Declaration

    Objective-C

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

    Return Value

    ISCIFillPaint conforming object, which can fill primitives using current style