LocationPuck2D

data class LocationPuck2D @JvmOverloads constructor(topImage: Drawable?, bearingImage: Drawable?, shadowImage: Drawable?, scaleExpression: String?, opacity: Float) : LocationPuck

Definition of a location_puck_2_d.

Constructors

LocationPuck2D
Link copied to clipboard
fun LocationPuck2D(topImage: Drawable? = null, bearingImage: Drawable? = null, shadowImage: Drawable? = null, scaleExpression: String? = null, opacity: Float = 1f)

Properties

bearingImage
Link copied to clipboard
var bearingImage: Drawable? = null

Name of image in sprite to use as the middle of the location indicator.

opacity
Link copied to clipboard
var opacity: Float = 1f

The opacity of the entire location puck

scaleExpression
Link copied to clipboard
var scaleExpression: String? = null

The scale expression of the images. If defined, it will be applied to all the three images.

shadowImage
Link copied to clipboard
var shadowImage: Drawable? = null

Name of image in sprite to use as the background of the location indicator.

topImage
Link copied to clipboard
var topImage: Drawable? = null

Name of image in sprite to use as the top of the location indicator.