UIColor convinient creation methods.
More...
#import <UIColor.h>
UIColor convinient creation methods.
+ (UIColor *) colorWith32bitColor: |
|
(UInt32) |
value |
|
+ (UIColor *) colorWith8bitRed: |
|
(UInt8) |
red |
green: |
|
(UInt8) |
green |
blue: |
|
(UInt8) |
blue |
alpha: |
|
(UInt8) |
alpha |
|
|
| |
+ (UIColor *) colorWith8bitWhite: |
|
(UInt8) |
white |
alpha: |
|
(UInt8) |
alpha |
|
|
| |
- (UIColor *) initWith32bitColor: |
|
(UInt32) |
value |
|
Initialize color from 32bit color packed value.
- Parameters
-
value | Packed 32bit color value. |
- (UIColor *) initWith8bitRed: |
|
(UInt8) |
red |
green: |
|
(UInt8) |
green |
blue: |
|
(UInt8) |
blue |
alpha: |
|
(UInt8) |
alpha |
|
|
| |
Initialize color from 32bit color component.
- Parameters
-
red | Value from 0 to 255 |
green | Value from 0 to 255 |
blue | Value from 0 to 255 |
alpha | Value from 0 to 255 |
- (UIColor *) initWith8bitWhite: |
|
(UInt8) |
white |
alpha: |
|
(UInt8) |
alpha |
|
|
| |
Initialize color from 8bit white component.
- Parameters
-
white | Value from 0 to 255 |
alpha | Value from 0 to 255 |
The documentation for this category was generated from the following file: