PTRubberStampColorModel
@interface PTRubberStampColorModel : NSObject
/**
* The start background color of the rubber stamp.
*/
@property (nonatomic, strong, readonly) UIColor *startColor;
/**
* The end background color of the rubber stamp.
*/
@property (nonatomic, strong, readonly) UIColor *endColor;
/**
* The text color of the rubber stamp.
*/
@property (nonatomic, strong, readonly) UIColor *textColor;
/**
* The border color of the rubber stamp.
*/
@property (nonatomic, strong, readonly) UIColor *borderColor;
/**
* Intializes the model with 4 different colors.
*/
- (instancetype)init: (UIColor*)startColor endColor:(UIColor*)endColor textColor:(UIColor*)textColor borderColor:(UIColor*)borderColor NS_DESIGNATED_INITIALIZER;
- (instancetype)init NS_UNAVAILABLE;
@end
Undocumented
-
The start background color of the rubber stamp.
Declaration
Objective-C
@property (nonatomic, strong, readonly) UIColor *_Nonnull startColor;Swift
var startColor: UIColor { get } -
The end background color of the rubber stamp.
Declaration
Objective-C
@property (nonatomic, strong, readonly) UIColor *_Nonnull endColor;Swift
var endColor: UIColor { get } -
The text color of the rubber stamp.
Declaration
Objective-C
@property (nonatomic, strong, readonly) UIColor *_Nonnull textColor;Swift
var textColor: UIColor { get } -
The border color of the rubber stamp.
Declaration
Objective-C
@property (nonatomic, strong, readonly) UIColor *_Nonnull borderColor;Swift
var borderColor: UIColor { get } -
Intializes the model with 4 different colors.
Declaration
Objective-C
- (nonnull instancetype)init:(nonnull UIColor *)startColor endColor:(nonnull UIColor *)endColor textColor:(nonnull UIColor *)textColor borderColor:(nonnull UIColor *)borderColor;Swift
init(_ startColor: UIColor, end endColor: UIColor, textColor: UIColor, borderColor: UIColor) -
Undocumented
Declaration
Objective-C
- (instancetype)init NS_UNAVAILABLE;
PTRubberStampColorModel Class Reference