BitmapWidget

fun BitmapWidget(bitmap: Bitmap, position: WidgetPosition = WidgetPosition( vertical = WidgetPosition.Vertical.TOP, horizontal = WidgetPosition.Horizontal.LEFT, ), marginX: Float = 0f, marginY: Float = 0f)

Parameters

bitmap

bitmap used to draw widget

position

position of widget

marginX

horizontal margin in pixels

marginY

vertical margin in pixels