iOS Charting Documentation - SciChart iOS Charts SDK v3.x

SCITexturePenStyle

@interface SCITexturePenStyle : SCIPenStyle

Defines a style class for textured lines which is used to draw 2D lines on the ISCIRenderSurface.

  • Get’s the underlying SCITextureBrushStyle which is used in this PenStyle instance.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly)
        SCITextureBrushStyle *_Nonnull textureBrushStyle;

    Swift

    var textureBrushStyle: SCITextureBrushStyle { get }
  • Creates a new SCITexturePenStyle instance.

    Declaration

    Objective-C

    - (nonnull instancetype)
        initWithGradientStyle:(nonnull SCITextureBrushStyle *)textureBrushStyle
                 antiAliasing:(BOOL)antiAliasing
                    thickness:(float)thickness
              strokeDashArray:(nullable NSArray<NSNumber *> *)strokeDashArray;

    Swift

    init(gradientStyle textureBrushStyle: SCITextureBrushStyle, antiAliasing: Bool, thickness: Float, strokeDashArray: [NSNumber]?)

    Parameters

    textureBrushStyle

    The texture style.

    antiAliasing

    The value indicating whether the pen should use antialiasing or no.

    thickness

    The stroke thickness in pixels.

    strokeDashArray

    The stroke dash pattern.