source: orbit/iOS/Orbit/Orbit/CorePlotHeaders/CPTColor.h @ cef53d8

ServoTab_Interfacepyramid
Last change on this file since cef53d8 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.1 KB
Line 
1#import <Foundation/Foundation.h>
2#import <QuartzCore/QuartzCore.h>
3
4@interface CPTColor : NSObject<NSCopying, NSCoding> {
5    @private
6    CGColorRef cgColor;
7}
8
9@property (nonatomic, readonly, assign) CGColorRef cgColor;
10
11/// @name Factory Methods
12/// @{
13+(CPTColor *)clearColor;
14+(CPTColor *)whiteColor;
15+(CPTColor *)lightGrayColor;
16+(CPTColor *)grayColor;
17+(CPTColor *)darkGrayColor;
18+(CPTColor *)blackColor;
19+(CPTColor *)redColor;
20+(CPTColor *)greenColor;
21+(CPTColor *)blueColor;
22+(CPTColor *)cyanColor;
23+(CPTColor *)yellowColor;
24+(CPTColor *)magentaColor;
25+(CPTColor *)orangeColor;
26+(CPTColor *)purpleColor;
27+(CPTColor *)brownColor;
28
29+(CPTColor *)colorWithCGColor:(CGColorRef)newCGColor;
30+(CPTColor *)colorWithComponentRed:(CGFloat)red green:(CGFloat)green blue:(CGFloat)blue alpha:(CGFloat)alpha;
31+(CPTColor *)colorWithGenericGray:(CGFloat)gray;
32/// @}
33
34/// @name Initialization
35/// @{
36-(id)initWithCGColor:(CGColorRef)cgColor;
37-(id)initWithComponentRed:(CGFloat)red green:(CGFloat)green blue:(CGFloat)blue alpha:(CGFloat)alpha;
38
39-(CPTColor *)colorWithAlphaComponent:(CGFloat)alpha;
40/// @}
41
42@end
Note: See TracBrowser for help on using the repository browser.