22OF_ASSUME_NONNULL_BEGIN
30#ifdef OF_HAVE_CLASS_PROPERTIES
33@property (
class, readonly, nonatomic)
OFColor *
gray;
35 OF_DEPRECATED(ObjFW, 1, 1,
"Use +[gray] instead");
38@property (
class, readonly, nonatomic)
OFColor *
red;
42@property (
class, readonly, nonatomic)
OFColor *
lime;
45@property (
class, readonly, nonatomic)
OFColor *
navy;
46@property (
class, readonly, nonatomic)
OFColor *
blue;
47@property (
class, readonly, nonatomic)
OFColor *
teal;
48@property (
class, readonly, nonatomic)
OFColor *
aqua;
61+ (instancetype)colorWithRed: (float)
red
102+ (
OFColor *)
grey OF_DEPRECATED(ObjFW, 1, 1,
"Use +[gray] instead");
232- (instancetype)initWithRed: (float)
red
245- (void)getRed: (
float *)
red
248 alpha: (nullable
float *)alpha;
A class for storing a color.
Definition OFColor.h:30
OFColor * fuchsia()
Returns the HTML color fuchsia.
OFColor * red()
Returns the HTML color red.
OFColor * lime()
Returns the HTML color lime.
OFColor * blue()
Returns the HTML color blue.
OFColor * olive()
Returns the HTML color olive.
OFColor * aqua()
Returns the HTML color aqua.
OFColor * silver()
Returns the HTML color silver.
OFColor * navy()
Returns the HTML color navy.
OFColor * purple()
Returns the HTML color purple.
OFColor * grey()
Returns the HTML color gray.
Definition OFColor.m:133
OFColor * white()
Returns the HTML color white.
OFColor * gray()
Returns the HTML color gray.
OFColor * teal()
Returns the HTML color teal.
OFColor * green()
Returns the HTML color green.
OFColor * black()
Returns the HTML color black.
OFColor * yellow()
Returns the HTML color yellow.
OFColor * maroon()
Returns the HTML color maroon.
The root class for all other classes inside ObjFW.
Definition OFObject.h:692