|
Core Plot (iOS and tvOS)
Cocoa plotting framework for macOS, iOS, and tvOS
|
Go to the documentation of this file.
23 @property (nonatomic, readonly) CGLineJoin
lineJoin;
31 @property (nonatomic, readonly, getter = isOpaque) BOOL
opaque;
36 +(nonnull instancetype)lineStyleWithStyle:(nullable
CPTLineStyle *)lineStyle;
41 -(void)setLineStyleInContext:(nonnull
CGContextRef)context;
42 -(void)strokePathInContext:(nonnull
CGContextRef)context;
CPTColor * lineColor
The current stroke color in a context. Default is solid black.
Definition: CPTLineStyle.h:28
Immutable wrapper for various line drawing properties. Create a CPTMutableLineStyle if you want to cu...
Definition: CPTLineStyle.h:20
CGFloat miterLimit
The miter limit for the joins of connected lines in a graphics context. Default is 10....
Definition: CPTLineStyle.h:24
CGFloat lineWidth
The line width for a graphics context. Default is 1.0.
Definition: CPTLineStyle.h:25
CPTNumberArray * dashPattern
The dash-and-space pattern for the line. Default is nil.
Definition: CPTLineStyle.h:26
CGLineJoin lineJoin
The style for the joins of connected lines in a graphics context. Default is kCGLineJoinMiter.
Definition: CPTLineStyle.h:23
BOOL opaque
If YES, a line drawn using the line style is completely opaque.
Definition: CPTLineStyle.h:31
NSMutableArray< CPTLineStyle * > CPTMutableLineStyleArray
A mutable array of line styles.
Definition: CPTLineStyle.h:18
An immutable color.
Definition: CPTColor.h:3
Draws area fills.
Definition: CPTFill.h:18
nonnull instancetype lineStyle()
Creates and returns a new CPTLineStyle instance.
Definition: CPTLineStyle.m:108
CGLineCap lineCap
The style for the endpoints of lines drawn in a graphics context. Default is kCGLineCapButt.
Definition: CPTLineStyle.h:22
Draws color gradient fills.
Definition: CPTGradient.h:39
CPTFill * lineFill
The current line fill. Default is nil.
Definition: CPTLineStyle.h:29
NSArray< CPTLineStyle * > CPTLineStyleArray
An array of line styles.
Definition: CPTLineStyle.h:8
CPTGradient * lineGradient
The current line gradient fill. Default is nil.
Definition: CPTLineStyle.h:30
CGFloat patternPhase
The starting phase of the line dash pattern. Default is 0.0.
Definition: CPTLineStyle.h:27