iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
SCIRadialGradientPenStyle
@interface SCIRadialGradientPenStyle : SCIPenStyle
Defines a style class for lines with radial gradient which is used to draw 2D lines on the ISCIRenderSurface.
-
Get’s the underlying
SCIRadialGradientBrushStylewhich is used in this PenStyle instance.Declaration
Objective-C
@property (nonatomic, strong, readonly) SCIRadialGradientBrushStyle *_Nonnull gradientStyle;Swift
var gradientStyle: SCIRadialGradientBrushStyle { get } -
Deprecated
Please use
initWithGradientStyle:thickness:strokeDashArray:antiAliasing:initializer insteadCreates a new
SCIRadialGradientPenStyleinstance.Declaration
Objective-C
- (nonnull instancetype) initWithGradientStyle:(nonnull SCIRadialGradientBrushStyle *)gradientStyle antiAliasing:(BOOL)antiAliasing thickness:(float)thickness strokeDashArray:(nullable NSArray<NSNumber *> *)strokeDashArray;Swift
convenience init(gradientStyle: SCIRadialGradientBrushStyle, antiAliasing: Bool, thickness: Float, strokeDashArray: [NSNumber]?)Parameters
gradientStyleThe radial gradient style.
antiAliasingThe value indicating whether the pen should use antialiasing or no.
thicknessThe stroke thickness in pixels.
strokeDashArrayThe stroke dash pattern.
-
Creates a new SCIRadialGradientPenStyle` instance.
Declaration
Objective-C
- (nonnull instancetype) initWithGradientStyle:(nonnull SCIRadialGradientBrushStyle *)gradientStyle thickness:(float)thickness strokeDashArray:(nullable NSArray<NSNumber *> *)strokeDashArray antiAliasing:(BOOL)antiAliasing;Parameters
gradientStyleThe radial gradient style.
thicknessThe stroke thickness in pixels.
strokeDashArrayThe stroke dash pattern.
antiAliasingThe value indicating whether the pen should use antialiasing or no.
View on GitHub