JubeatPlus 3.9.11
Loading...
Searching...
No Matches
GradationView Class Reference

A vertical gradient between two colours, drawn top to bottom. More...

#include <GradationView.h>

Inheritance diagram for GradationView:
Collaboration diagram for GradationView:

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.

Detailed Description

A vertical gradient between two colours, drawn top to bottom.

Both colours default to clear, so a freshly built instance draws nothing visible.

Method Documentation

◆ initWithFrame:

- (instancetype) initWithFrame: (CGRect) frame

Sets both colours to clear.

Parameters
frameThe view's initial frame.
Returns
The initialised view.
Ghidra address:
0x253cbc
Ghidra address:
0x253cbc

Property Documentation

◆ bottomColor

- (UIColor*) bottomColor
readwritenonatomiccopy

The colour at the bottom edge.

Defaults to clear. Same copy caveat as topColor.

◆ topColor

- (UIColor*) 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.


The documentation for this class was generated from the following files: