JXSegmentedTitleImageItemModel.swift 721 B

1234567891011121314151617181920212223
  1. //
  2. // JXSegmentedTitleImageItemModel.swift
  3. // JXSegmentedView
  4. //
  5. // Created by jiaxin on 2018/12/29.
  6. // Copyright © 2018 jiaxin. All rights reserved.
  7. //
  8. import UIKit
  9. open class JXSegmentedTitleImageItemModel: JXSegmentedTitleItemModel {
  10. open var titleImageType: JXSegmentedTitleImageType = .rightImage
  11. open var normalImageInfo: String?
  12. open var selectedImageInfo: String?
  13. open var loadImageClosure: LoadImageClosure?
  14. open var imageSize: CGSize = CGSize.zero
  15. open var titleImageSpacing: CGFloat = 0
  16. open var isImageZoomEnabled: Bool = false
  17. open var imageNormalZoomScale: CGFloat = 0
  18. open var imageCurrentZoomScale: CGFloat = 0
  19. open var imageSelectedZoomScale: CGFloat = 0
  20. }