iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
SCICompositePathColor
@interface SCICompositePathColor : SCIDisposableBase <ISCIPathColor>
Defines a composite path color which composes ISCIPen2D
and ISCIBrush2D
.
Note
Used byISCIRenderContext2D
to draw fills and lines at the same time..
-
Gets the
ISCIBrush2D
instance.Declaration
Objective-C
@property (nonatomic, strong, readonly) id<ISCIBrush2D> _Nonnull brush;
Swift
var brush: ISCIBrush2D { get }
-
Creates a new instance of
SCICompositePathColor
class.Declaration
Objective-C
- (nonnull instancetype)initWithPen:(nonnull id<ISCIPen2D>)pen andBrush:(nonnull id<ISCIBrush2D>)brush;
Swift
init(pen: ISCIPen2D, andBrush brush: ISCIBrush2D)
Parameters
pen
The
ISCIPen2D
instance.brush
The
ISCIBrush2D
instance.