ScaleBarImpl

fun ScaleBarImpl(context: Context)

Constructor with context.

Parameters

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

Constructor with context and attribute set.

Parameters

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

Constructor with context, attribute set and defStyleAttr.

Parameters

attrs

The attribution set.

context
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.