Gradients.swift 461 B

12345678910
  1. extension BackendFeatures {
  2. /// Conform backends to this typealias if it is supporting all SwiftCrossUI supported gradients
  3. /// and you plan to keep up this support in the future.
  4. ///
  5. /// To support a subset of gradient types, conform to each supported gradient protocol individually.
  6. public typealias Gradients =
  7. BackendFeatures.LinearGradients &
  8. BackendFeatures.RadialGradients &
  9. BackendFeatures.AngularGradients
  10. }