This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import UIKit | |
public struct TextStyle { | |
let font: UIFont | |
let color: UIColor | |
let kerning: CGFloat? | |
let lineHeight: CGFloat? | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import UIKit | |
class LinearGradientLayer: CALayer { | |
public var colorSpace = CGColorSpaceCreateDeviceRGB() | |
public var colors: [CGColor]? | |
public var locations: [CGFloat]? | |
public var startPoint: CGPoint? | |
public var endPoint: CGPoint? |