Core Plot (iOS and tvOS)
Cocoa plotting framework for macOS, iOS, and tvOS
CPTFill.h
Go to the documentation of this file.
1 
3 @class CPTGradient;
4 @class CPTImage;
5 @class CPTColor;
6 @class CPTFill;
7 
12 
17 
19 
22 +(nonnull instancetype)fillWithColor:(nonnull CPTColor *)aColor;
23 +(nonnull instancetype)fillWithGradient:(nonnull CPTGradient *)aGradient;
24 +(nonnull instancetype)fillWithImage:(nonnull CPTImage *)anImage;
26 
29 -(nonnull instancetype)initWithColor:(nonnull CPTColor *)aColor;
30 -(nonnull instancetype)initWithGradient:(nonnull CPTGradient *)aGradient;
31 -(nonnull instancetype)initWithImage:(nonnull CPTImage *)anImage;
33 
34 @end
35 
40 
41 @property (nonatomic, readonly, getter = isOpaque) BOOL opaque;
42 @property (nonatomic, readonly, nullable) CGColorRef cgColor;
43 
46 -(void)fillRect:(CGRect)rect inContext:(nonnull CGContextRef)context;
47 -(void)fillPathInContext:(nonnull CGContextRef)context;
49 
50 @end
NSMutableArray
CPTColor
An immutable color.
Definition: CPTColor.h:3
CPTFill
Draws area fills.
Definition: CPTFill.h:18
CPTFill(AbstractMethods)
CPTFill abstract methods—must be overridden by subclasses.
Definition: CPTFill.h:39
CGContextRef
typedef CGContextRef
CPTImage
A bitmap image.
Definition: CPTImage.h:4
NSArray
CPTGradient
Draws color gradient fills.
Definition: CPTGradient.h:39
CGRect
typedef CGRect
CPTMutableFillArray
NSMutableArray< CPTFill * > CPTMutableFillArray
A mutable array of fills.
Definition: CPTFill.h:16
CPTFillArray
NSArray< CPTFill * > CPTFillArray
An array of fills.
Definition: CPTFill.h:6
NSSecureCoding-p