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.
set Horizontal Alignment
Link copied to clipboard
fun setHorizontalAlignment(horizontalAlignment: WidgetPosition.Horizontal): WidgetPosition.Builder
Content copied to clipboard
Set the horizontal position, defaults to Horizontal.LEFT.
set Offset X
Link copied to clipboard
Set the horizontal offset in pixels towards the right of the map, defaults to 0.
set Offset Y
Link copied to clipboard
Set the vertical offset in pixels towards the bottom of the map, defaults to 0.
set Vertical Alignment
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.