UIColor
Undocumented
-
Inits a
UIColor
from RGBInt
values + alpha from CGFloatParameter
Parameter rgbaColor: The levels of color for red/green/blue + alphaDeclaration
Swift
public convenience init(rgbaColor: RGBAColor)
Parameters
rgbaColor
The levels of color for red/green/blue + alpha
-
Gets the red component
Returns
Int
Declaration
Swift
public func getRed() -> Int
Return Value
Int
-
Gets the green component
Returns
Int
Declaration
Swift
public func getGreen() -> Int
Return Value
Int
-
Gets the blue component
Returns
Int
Declaration
Swift
public func getBlue() -> Int
Return Value
Int
-
Gets the alpha component
Returns
CGFloat
Declaration
Swift
public func getAlpha() -> CGFloat
Return Value
CGFloat
-
Converts the UIColor to a readable string.
Using the format:
"Red: 123 - Green: 123 - Blue: 123 - Alpha: 1.0"
Returns
String
Declaration
Swift
public func toString() -> String
Return Value
String