-
Notifications
You must be signed in to change notification settings - Fork 599
Expand file tree
/
Copy pathCPTMutableLineStyle.m
More file actions
61 lines (49 loc) · 1.71 KB
/
CPTMutableLineStyle.m
File metadata and controls
61 lines (49 loc) · 1.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#import "CPTMutableLineStyle.h"
/** @brief Mutable wrapper for various line drawing properties.
*
* If you need to customize properties of a line style, you should use this class rather than the
* immutable super class.
*
**/
@implementation CPTMutableLineStyle
/** @property CGLineCap lineCap
* @brief The style for the endpoints of lines drawn in a graphics context. Default is @ref kCGLineCapButt.
**/
@dynamic lineCap;
/** @property CGLineJoin lineJoin
* @brief The style for the joins of connected lines in a graphics context. Default is @ref kCGLineJoinMiter.
**/
@dynamic lineJoin;
/** @property CGFloat miterLimit
* @brief The miter limit for the joins of connected lines in a graphics context. Default is @num{10.0}.
**/
@dynamic miterLimit;
/** @property CGFloat lineWidth
* @brief The line width for a graphics context. Default is @num{1.0}.
**/
@dynamic lineWidth;
/** @property nullable CPTNumberArray *dashPattern
* @brief The dash-and-space pattern for the line. Default is @nil.
**/
@dynamic dashPattern;
/** @property CGFloat patternPhase
* @brief The starting phase of the line dash pattern. Default is @num{0.0}.
**/
@dynamic patternPhase;
/** @property nullable CPTColor *lineColor
* @brief The current stroke color in a context. Default is solid black.
**/
@dynamic lineColor;
/** @property nullable CPTFill *lineFill
* @brief The current line fill. Default is @nil.
*
* If @nil, the line is drawn using the @ref lineGradient or @ref lineColor.
**/
@dynamic lineFill;
/** @property nullable CPTGradient *lineGradient
* @brief The current line gradient fill. Default is @nil.
*
* If @nil, the line is drawn using the @ref lineFill or @ref lineColor.
**/
@dynamic lineGradient;
@end