PresentrShadow.swift 635 B

1234567891011121314151617181920212223242526272829
  1. //
  2. // PresentrShadow.swift
  3. // Pods
  4. //
  5. // Created by Daniel Lozano Valdés on 3/21/17.
  6. //
  7. //
  8. import UIKit
  9. /// Helper struct that represents the shadow properties
  10. public struct PresentrShadow {
  11. public let shadowColor: UIColor?
  12. public let shadowOpacity: Float?
  13. public let shadowOffset: CGSize?
  14. public let shadowRadius: CGFloat?
  15. public init(shadowColor: UIColor?, shadowOpacity: Float?, shadowOffset: CGSize?, shadowRadius: CGFloat?) {
  16. self.shadowColor = shadowColor
  17. self.shadowOpacity = shadowOpacity
  18. self.shadowOffset = shadowOffset
  19. self.shadowRadius = shadowRadius
  20. }
  21. }