iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
ISCIPen2D
@protocol ISCIPen2D <NSObject, ISCIPathColor>
Defines the interface to a 2D pen, used to draw lines on the ISCIRenderSurface
.
-
Get the stroke thickness of this pen in pixels.
Declaration
Objective-C
@property (nonatomic, readonly) float thickness;
Swift
var thickness: Float { get }
-
Gets the value indicating whether this pen should use antialiasing.
Declaration
Objective-C
@property (nonatomic, readonly) BOOL antialised;
Swift
var antialised: Bool { get }
-
Gets the value indicating whether this pen has dash array.
Declaration
Objective-C
@property (nonatomic, readonly) BOOL hasDashes;
Swift
var hasDashes: Bool { get }