source: orbit/iOS/Orbit/Orbit/CorePlotHeaders/CPTLineStyle.h @ e5b8e57

ServoTab_Interfacepyramid
Last change on this file since e5b8e57 was a9059a5, checked in by Steve Castellotti <sc@…>, 10 years ago

Arduino:

  • updated to permit custom setting of Throttle, Yaw, and Pitch

Android:

  • Minor tweak to Configuration location

iOS:

  • Property mode set to 100644
File size: 1.3 KB
Line 
1#import <Foundation/Foundation.h>
2#import <QuartzCore/QuartzCore.h>
3
4@class CPTColor;
5@class CPTFill;
6
7@interface CPTLineStyle : NSObject<NSCoding, NSCopying, NSMutableCopying> {
8    @private
9    CGLineCap lineCap;
10//    CGLineDash lineDash; // We should make a struct to keep this information
11    CGLineJoin lineJoin;
12    CGFloat miterLimit;
13    CGFloat lineWidth;
14    NSArray *dashPattern;
15    CGFloat patternPhase;
16//    StrokePattern; // We should make a struct to keep this information
17    CPTColor *lineColor;
18    CPTFill *lineFill;
19}
20
21@property (nonatomic, readonly, assign) CGLineCap lineCap;
22@property (nonatomic, readonly, assign) CGLineJoin lineJoin;
23@property (nonatomic, readonly, assign) CGFloat miterLimit;
24@property (nonatomic, readonly, assign) CGFloat lineWidth;
25@property (nonatomic, readonly, retain) NSArray *dashPattern;
26@property (nonatomic, readonly, assign) CGFloat patternPhase;
27@property (nonatomic, readonly, retain) CPTColor *lineColor;
28@property (nonatomic, readonly, retain) CPTFill *lineFill;
29
30/// @name Factory Methods
31/// @{
32+(id)lineStyle;
33/// @}
34
35/// @name Drawing
36/// @{
37-(void)setLineStyleInContext:(CGContextRef)context;
38-(void)strokePathInContext:(CGContextRef)context;
39-(void)strokeRect:(CGRect)rect inContext:(CGContextRef)context;
40/// @}
41
42@end
Note: See TracBrowser for help on using the repository browser.