ScaleBarImpl

fun ScaleBarImpl(context: Context)

Constructor with context.

Parameters

context
fun ScaleBarImpl(context: Context, attrs: AttributeSet)

Constructor with context and attribute set.

Parameters

context
attrs
fun ScaleBarImpl(context: Context, attrs: AttributeSet, defStyleAttr: Int)

Constructor with context, attribute set and defStyleAttr.

Parameters

context
attrs

The attribution set.

defStyleAttr

An attribute in the current theme that contains a reference to a style resource that supplies defaults values for the StyledAttributes. Can be 0 to not look for defaults.