Builder
class Builder
Content copied to clipboard
Builder for WidgetPosition class.
Constructors
Functions
build
Link copied to clipboard
Build the WidgetPosition from the current settings.
setHorizontalAlignment
Link copied to clipboard
fun setHorizontalAlignment(horizontalAlignment: WidgetPosition.Horizontal): WidgetPosition.Builder
Content copied to clipboard
Set the horizontal position, defaults to Horizontal.LEFT.
setOffsetX
Link copied to clipboard
Set the horizontal offset in pixels towards the right of the map, defaults to 0.
setOffsetY
Link copied to clipboard
Set the vertical offset in pixels towards the bottom of the map, defaults to 0.
setVerticalAlignment
Link copied to clipboard
fun setVerticalAlignment(verticalAlignment: WidgetPosition.Vertical): WidgetPosition.Builder
Content copied to clipboard
Set the vertical position, defaults to Vertical.TOP.
Properties
horizontalAlignment
Link copied to clipboard
the horizontal position relative to the map, defaults to Horizontal.LEFT.
verticalAlignment
Link copied to clipboard
the vertical position relative to the map, defaults to Vertical.TOP.