Functions
The following functions are available globally.
-
Returns the result of adding two colors together.
Declaration
Swift
public func + (lhs: UIColor, rhs: UIColor) -> UIColor
-
Returns the result of subtracting one color from another.
Declaration
Swift
public func - (lhs: UIColor, rhs: UIColor) -> UIColor
-
Returns the result of multiplying a color by a multiplier.
Declaration
Swift
public func * (color: UIColor, multiplier: CGFloat) -> UIColor
-
Returns the result of dividing a color by a divisor.
Declaration
Swift
public func / (color: UIColor, divisor: CGFloat) -> UIColor