WidgetPosition

class WidgetPosition

Specifies widget position relative to the map.

Constructors

WidgetPosition
Link copied to clipboard
fun WidgetPosition(horizontal: WidgetPosition.Horizontal, vertical: WidgetPosition.Vertical)

Deprecated constructor for WidgetPosition.

Types

Builder
Link copied to clipboard
class Builder

Builder for WidgetPosition class.

Horizontal
Link copied to clipboard
enum Horizontal : Enum<WidgetPosition.Horizontal>

Widget position Horizontal

Vertical
Link copied to clipboard
enum Vertical : Enum<WidgetPosition.Vertical>

Widget position Vertical

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Indicates whether some other object is "equal to" this one.

hashCode
Link copied to clipboard
open override fun hashCode(): Int

Returns a hash code value for the object.

toBuilder
Link copied to clipboard
fun toBuilder(): WidgetPosition.Builder

Returns a builder that created the WidgetPosition.

toString
Link copied to clipboard
open override fun toString(): String

Returns a String for the object.

Properties

horizontal
Link copied to clipboard
val horizontal: WidgetPosition.Horizontal

The horizontal position relative to the map.

horizontalAlignment
Link copied to clipboard
val horizontalAlignment: WidgetPosition.Horizontal

the horizontal position relative to the map.

offsetX
Link copied to clipboard
val offsetX: Float

the horizontal offset in pixels towards the right of the map.

offsetY
Link copied to clipboard
val offsetY: Float

the vertical offset in pixels towards the bottom of the map.

vertical
Link copied to clipboard
val vertical: WidgetPosition.Vertical

The vertical position relative to the map.

verticalAlignment
Link copied to clipboard
val verticalAlignment: WidgetPosition.Vertical

the vertical position relative to the map.