|
JubeatPlus 3.9.11
|
A vertical gradient between two colours, drawn top to bottom. More...
#include <GradationView.h>


Instance Methods | |
| (instancetype) | - initWithFrame: |
| Sets both colours to clear. | |
Properties | |
| UIColor * | topColor |
| The colour at the top edge. | |
| UIColor * | bottomColor |
| The colour at the bottom edge. | |
A vertical gradient between two colours, drawn top to bottom.
Both colours default to clear, so a freshly built instance draws nothing visible.
| - (instancetype) initWithFrame: | (CGRect) | frame |
Sets both colours to clear.
| frame | The view's initial frame. |
|
readwritenonatomiccopy |
The colour at the bottom edge.
Defaults to clear. Same copy caveat as topColor.
|
readwritenonatomiccopy |
The colour at the top edge.
Defaults to clear.
Declared copy in the metadata. Note that the initialiser assigns the ivar directly and so retains rather than copies; only a caller going through this property gets a copy.