ALBusSeatViewConfig

open class ALBusSeatViewConfig

SeatView configuration class.

Layout

  • Left drive position status

    Declaration

    Swift

    open var leftHandDrivePosition: Bool
  • Margin between seats

    Declaration

    Swift

    open var marginBetweenSeats: CGFloat

Seat

  • Empty seat color

    Declaration

    Swift

    open var seatEmptyBGColor: UIColor
  • Seat color purchased by woman or man

    Declaration

    Swift

    open var seatSoldBGColor: UIColor
  • Selected seat color

    Declaration

    Swift

    open var seatSelectedBGColor: UIColor
  • Seat color purchased by woman

    Declaration

    Swift

    open var seatSoldWomanBGColor: UIColor
  • Seat color purchased by man

    Declaration

    Swift

    open var seatSoldManBGColor: UIColor
  • Seat corner radius

    Declaration

    Swift

    open var seatCornerRadius: CGFloat
  • Seat border color

    Declaration

    Swift

    open var seatBorderColor: UIColor
  • Seat border width

    Declaration

    Swift

    open var seatBorderWidth: CGFloat
  • Seat shadow color

    Declaration

    Swift

    open var seatShadowColor: UIColor
  • Seat shadow radius

    Declaration

    Swift

    open var seatShadowRadius: CGFloat
  • Seat shadow size

    Declaration

    Swift

    open var seatShadowSize: CGSize
  • Seat shadow opacity

    Declaration

    Swift

    open var seatShadowOpacity: Float
  • The remove button image for selected seat

    Declaration

    Swift

    open var seatRemoveImage: UIImage?
  • Seat number label font

    Declaration

    Swift

    open var seatNumberFont: UIFont
  • Selected seat number label font

    Declaration

    Swift

    open var seatNumberSelectedFont: UIFont
  • Seat number label color

    Declaration

    Swift

    open var seatNumberColor: UIColor
  • Selected seat number label color

    Declaration

    Swift

    open var seatNumberSelectedColor: UIColor

Hall

  • Bus hall height

    Declaration

    Swift

    open var centerHallHeight: CGFloat
  • Hall information label text

    Declaration

    Swift

    open var centerHallInfoText: String
  • Hall information label text color

    Declaration

    Swift

    open var centerHallInfoTextColor: UIColor
  • Hall information label text font

    Declaration

    Swift

    open var centerHallInfoTextFont: UIFont

Bus Front Section

  • Bus front image

    Declaration

    Swift

    open var busFrontImage: UIImage?
  • Bus front image width

    Declaration

    Swift

    open var busFrontImageWidth: CGFloat

Floor Section

  • Floor section width

    Declaration

    Swift

    open var floorSeperatorWidth: CGFloat
  • Floor section image

    Declaration

    Swift

    open var floorSeperatorImage: UIImage?

Tooltip

  • Gender selection tooltip title

    Declaration

    Swift

    open var tooltipText: String