TrafficSignSettings

data class TrafficSignSettings(signType: TrafficSignSettings.SignType, countrySignage: TrafficSignSettings.CountrySignage, bitmapFactory: BitmapFactory, signAnchor: PointF, labelAnchor: PointF, labelStyle: DynamicLabelStyle) : Parcelable

Constructors

TrafficSignSettings
Link copied to clipboard
fun TrafficSignSettings(signType: TrafficSignSettings.SignType, countrySignage: TrafficSignSettings.CountrySignage, bitmapFactory: BitmapFactory, signAnchor: PointF = PointF(0.5F, 0.5F), labelAnchor: PointF = PointF(0.5F, 0.5F), labelStyle: DynamicLabelStyle = DynamicLabelStyle())

Types

CountrySignage
Link copied to clipboard
enum CountrySignage : Enum<TrafficSignSettings.CountrySignage>
RegionUnitSystem
Link copied to clipboard
enum RegionUnitSystem : Enum<TrafficSignSettings.RegionUnitSystem>
SignType
Link copied to clipboard
enum SignType : Enum<TrafficSignSettings.SignType>

Functions

describeContents
Link copied to clipboard
abstract fun describeContents(): Int
writeToParcel
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

bitmapFactory
Link copied to clipboard
val bitmapFactory: BitmapFactory

Factory for sign bitmaps which will be used when drawing signs

countrySignage
Link copied to clipboard
val countrySignage: TrafficSignSettings.CountrySignage

Setings will affect signs for this country/world

labelAnchor
Link copied to clipboard
val labelAnchor: PointF

Label anchor

labelStyle
Link copied to clipboard
val labelStyle: DynamicLabelStyle

Text style for sign label

signAnchor
Link copied to clipboard
val signAnchor: PointF

Sign anchor

signType
Link copied to clipboard
val signType: TrafficSignSettings.SignType

Settings of this type of sign will be affected