forked from djw/core-plot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCPTMutableLineStyle.m
More file actions
55 lines (44 loc) · 1.45 KB
/
CPTMutableLineStyle.m
File metadata and controls
55 lines (44 loc) · 1.45 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
#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 lineCap
* @brief The style for the endpoints of lines drawn in a graphics context. Default is <code>kCGLineCapButt</code>.
**/
@dynamic lineCap;
/** @property lineJoin
* @brief The style for the joins of connected lines in a graphics context. Default is <code>kCGLineJoinMiter</code>.
**/
@dynamic lineJoin;
/** @property miterLimit
* @brief The miter limit for the joins of connected lines in a graphics context. Default is 10.0.
**/
@dynamic miterLimit;
/** @property lineWidth
* @brief The line width for a graphics context. Default is 1.0.
**/
@dynamic lineWidth;
/** @property dashPattern
* @brief The dash-and-space pattern for the line. Default is <code>nil</code>.
**/
@dynamic dashPattern;
/** @property patternPhase
* @brief The starting phase of the line dash pattern. Default is 0.0.
**/
@dynamic patternPhase;
/** @property lineColor
* @brief The current stroke color in a context. Default is solid black.
**/
@dynamic lineColor;
/** @property lineFill
* @brief The current line fill. Default is <code>nil</code>.
*
* If <code>nil</code>, the line is drawn using the
* @link CPTMutableLineStyle::lineColor lineColor @endlink .
**/
@dynamic lineFill;
@end