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;

    Swift

    class var `default`: SCIBrushStyle { get }
  • Provides transparent (clear) instance of SCISolidPenStyle.

    Declaration

    Objective-C

    @property (class, nonatomic, readonly) SCIBrushStyle *_Nonnull TRANSPARENT;

    Swift

    class var transparent: SCIBrushStyle { get }
  • 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