Bitmap Widget
Content copied to clipboard
The deprecated constructor for BitmapWidget.
Parameters
bitmap
bitmap used to draw widget
position
position of widget
margin X
horizontal margin in pixels
margin Y
vertical margin in pixels
Content copied to clipboard
The deprecated constructor for BitmapWidget.
Parameters
bitmap
bitmap used to draw widget
position
position of widget
margin X
horizontal margin in pixels
fun BitmapWidget(bitmap: Bitmap, originalPosition: WidgetPosition = WidgetPosition {
verticalAlignment = WidgetPosition.Vertical.TOP
horizontalAlignment = WidgetPosition.Horizontal.LEFT
offsetX = 0f
offsetY = 0f
})
Content copied to clipboard
Parameters
bitmap
bitmap used to draw widget
original Position
position of widget