SpeedLimitView

public class SpeedLimitView : UIView

A view that displays a speed limit and resembles a real-world speed limit sign.

  • The sign’s background color.

    Declaration

    Swift

    @objc
    public dynamic var signBackColor: UIColor { get set }
  • The color of the text on the sign.

    This color is also used for the border of an MUTCD-style sign.

    Declaration

    Swift

    @objc
    public dynamic var textColor: UIColor { get set }
  • The color of the border of a regulatory sign according to the Vienna Convention.

    Declaration

    Swift

    @objc
    public dynamic var regulatoryBorderColor: UIColor { get set }
  • The speed limit to display.

    The view displays the value of this property as is without converting it to another unit.

    Declaration

    Swift

    public var speedLimit: Measurement<UnitSpeed>? { get set }
  • The sign standard that specifies the design that the view depicts.

    Declaration

    Swift

    public var signStandard: SignStandard? { get set }