Builder

class Builder

Builder for WidgetPosition class.

Constructors

Link copied to clipboard
fun Builder()

Functions

Link copied to clipboard

Build the WidgetPosition from the current settings.

Link copied to clipboard

Set the horizontal position, defaults to Horizontal.LEFT.

Link copied to clipboard

Set the horizontal offset in pixels towards the right of the map, defaults to 0.

Link copied to clipboard

Set the vertical offset in pixels towards the bottom of the map, defaults to 0.

Link copied to clipboard

Set the vertical position, defaults to Vertical.TOP.

Properties

Link copied to clipboard

the horizontal position relative to the map, defaults to Horizontal.LEFT.

Link copied to clipboard
var offsetX: Float = 0.0f

the horizontal offset in pixels towards the right of the map, defaults to 0.

Link copied to clipboard
var offsetY: Float = 0.0f

the vertical offset in pixels towards the bottom of the map, defaults to 0.

Link copied to clipboard

the vertical position relative to the map, defaults to Vertical.TOP.