forked from core-plot/core-plot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCPTLimitBand.h
More file actions
33 lines (25 loc) · 916 Bytes
/
CPTLimitBand.h
File metadata and controls
33 lines (25 loc) · 916 Bytes
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
/// @file
@class CPTFill;
@class CPTLimitBand;
@class CPTPlotRange;
/**
* @brief An array of limit bands.
**/
typedef NSArray<CPTLimitBand *> CPTLimitBandArray;
/**
* @brief A mutable array of limit bands.
**/
typedef NSMutableArray<CPTLimitBand *> CPTMutableLimitBandArray;
@interface CPTLimitBand : NSObject<NSCopying, NSCoding, NSSecureCoding>
@property (nonatomic, readwrite, strong, nullable) CPTPlotRange *range;
@property (nonatomic, readwrite, strong, nullable) CPTFill *fill;
/// @name Factory Methods
/// @{
+(nonnull instancetype)limitBandWithRange:(nullable CPTPlotRange *)newRange fill:(nullable CPTFill *)newFill;
/// @}
/// @name Initialization
/// @{
-(nonnull instancetype)initWithRange:(nullable CPTPlotRange *)newRange fill:(nullable CPTFill *)newFill NS_DESIGNATED_INITIALIZER;
-(nullable instancetype)initWithCoder:(nonnull NSCoder *)decoder NS_DESIGNATED_INITIALIZER;
/// @}
@end