11#import <UIKit/UIKit.h>
13NS_ASSUME_NONNULL_BEGIN
66- (void)setColorWithType:(
unsigned int)type;
83- (void)setColorWithArray:(NSArray *)colors;
Holds the three colours the knit background is drawn with.
Definition KnitColorManager.h:44
UIColor * getWaveColor()
The current wave colour.
Definition KnitColorManager.m:136
UIColor * getBaseColor()
The current base colour.
Definition KnitColorManager.m:126
instancetype init()
Builds the manager.
Definition KnitColorManager.m:50
int getColorType()
The current palette's type, derived from the three colours.
Definition KnitColorManager.m:104
UIColor * getLineColor()
The current line colour.
Definition KnitColorManager.m:131
KnitColorManager * sharedManager
The shared instance.
Definition KnitColorManager.m:39
One colour in a knit palette, as the table at 0x353d78 stores it.
Definition KnitColorManager.h:22
float blue
Blue, 0 to 255.
Definition KnitColorManager.h:25
float red
Red, 0 to 255.
Definition KnitColorManager.h:23
float green
Green, 0 to 255.
Definition KnitColorManager.h:24
float alpha
Alpha, 0 to 1.
Definition KnitColorManager.h:26
One row of the palette table at 0x353d78, 0x30 bytes wide.
Definition KnitColorManager.h:34
KnitColorComponents wave
The wave overlay colour.
Definition KnitColorManager.h:37
KnitColorComponents base
The background fill colour.
Definition KnitColorManager.h:35
KnitColorComponents line
The knit line colour.
Definition KnitColorManager.h:36