
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
SCIRadialGradientBrushStyle
which is used in this PenStyle instance.Declaration
Objective-C
@property (nonatomic, strong, readonly) SCIRadialGradientBrushStyle *_Nonnull gradientStyle;
-
Deprecated
Please use
initWithGradientStyle:thickness:strokeDashArray:antiAliasing:
initializer insteadCreates a new
SCIRadialGradientPenStyle
instance.Declaration
Objective-C
- (nonnull instancetype) initWithGradientStyle:(nonnull SCIRadialGradientBrushStyle *)gradientStyle antiAliasing:(BOOL)antiAliasing thickness:(float)thickness strokeDashArray:(nullable NSArray<NSNumber *> *)strokeDashArray;
Parameters
gradientStyle
The radial gradient style.
antiAliasing
The value indicating whether the pen should use antialiasing or no.
thickness
The stroke thickness in pixels.
strokeDashArray
The 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
gradientStyle
The radial gradient style.
thickness
The stroke thickness in pixels.
strokeDashArray
The stroke dash pattern.
antiAliasing
The value indicating whether the pen should use antialiasing or no.