iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
SCISolidPenStyle
@interface SCISolidPenStyle : SCIPenStyle
Defines a style class for lines with solid color which is used to draw 2D lines on the ISCIRenderSurface
-
Deprecated
SCISolidPenStyle.defaultPenStyle is deprecated. Please use SCIPenStyle.DEFAULT instead
Provides default instance of
SCISolidPenStyle.Declaration
Objective-C
@property (class, nonatomic, readonly) __deprecated_msg SCISolidPenStyle *defaultPenStyle;Swift
class var `default`: SCISolidPenStyle { get } -
Creates a new
SCIPenStyleinstance.Declaration
Objective-C
- (nonnull instancetype)initWithColorCode:(unsigned int)colorCode thickness:(float)thickness;Parameters
colorCodeThe stroke
ARGBcolor code.thicknessThe stroke thickness in pixels.
-
Creates a new
SCIPenStyleinstance.Declaration
Objective-C
- (nonnull instancetype)initWithColor:(nonnull UIColor *)color thickness:(float)thickness;Parameters
colorThe stroke
ARGBcolor.thicknessThe stroke thickness in pixels.
-
Creates a new
SCIPenStyleinstance.Declaration
Objective-C
- (nonnull instancetype)initWithColor:(nonnull UIColor *)color thickness:(float)thickness strokeDashArray: (nullable NSArray<NSNumber *> *)strokeDashArray;Parameters
colorThe stroke
ARGBcolor.thicknessThe stroke thickness in pixels.
strokeDashArrayThe stroke dash pattern.
-
Creates a new
SCIPenStyleinstance.Declaration
Objective-C
- (nonnull instancetype)initWithColorCode:(unsigned int)colorCode thickness:(float)thickness strokeDashArray: (nullable NSArray<NSNumber *> *)strokeDashArray antiAliasing:(BOOL)antiAliasing;Parameters
colorCodeThe stroke
ARGBcolor code.thicknessThe stroke thickness in pixels.
antiAliasingThe value indicating whether the pen should use antialiasing or not.
strokeDashArrayThe stroke dash pattern.
View on GitHub