LogoWidget

class LogoWidget(context: Context, position: WidgetPosition, marginX: Float, marginY: Float) : BitmapWidget

Widget shows compass. Positioned in the bottom left corner by default.

Parameters

marginX

horizontal margin in pixels

marginY

vertical margin in pixels

position

position of logo

Constructors

LogoWidget
Link copied to clipboard
fun LogoWidget(context: Context, position: WidgetPosition = WidgetPosition( horizontal = WidgetPosition.Horizontal.LEFT, vertical = WidgetPosition.Vertical.BOTTOM, ), marginX: Float = 20f, marginY: Float = 20f)
position of logo

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
setRotation
Link copied to clipboard
open override fun setRotation(angleDegrees: Float)
setTranslation
Link copied to clipboard
open override fun setTranslation(translationX: Float, translationY: Float)
toString
Link copied to clipboard
open fun toString(): String
updateBitmap
Link copied to clipboard
fun updateBitmap(bitmap: Bitmap)