HIColor Class Reference
| Inherits from | HIChartsJSONSerializable : NSObject |
|---|---|
| Declared in | HIColor.h |
– initWithHexValue:
Standard hex color value, for example FFFFFF for black and 000000 for white
- (instancetype)initWithHexValue:(NSString *)stringDeclared In
HIColor.h
– initWithRGB:green:blue:
Values of red, green and blue color in RGB standard: values 0-255
- (instancetype)initWithRGB:(int)red green:(int)green blue:(int)blueDeclared In
HIColor.h
– initWithRGBA:green:blue:alpha:
Values of red, green and blue color in RGBa standard. Values for colors: 0-255, alpha: 0-1
- (instancetype)initWithRGBA:(int)red green:(int)green blue:(int)blue alpha:(double)alphaDeclared In
HIColor.h
– initWithName:
Standard color names: red, green, black etc.
- (instancetype)initWithName:(NSString *)nameDeclared In
HIColor.h
– initWithLinearGradient:stops:
CSS-style linear gradient
- (instancetype)initWithLinearGradient:(NSDictionary *)gradient stops:(NSArray *)stopsDeclared In
HIColor.h
– initWithRadialGradient:stops:
CSS-style radial gradient
- (instancetype)initWithRadialGradient:(NSDictionary *)gradient stops:(NSArray *)stopsDeclared In
HIColor.h
– initWithUIColor:
Init with UIKit’s UIColor
- (instancetype)initWithUIColor:(UIColor *)colorDeclared In
HIColor.h
– initWithPattern:
Pattern fill
- (instancetype)initWithPattern:(HIPatternObject *)patternDeclared In
HIColor.h