Class: $.CustomImagesItem

Inherits:
WatchUi.CustomMenuItem show all

Overview

This is the custom item drawable. It draws the item's bitmap and label.

Instance Member Summary collapse

Instance Method Summary collapse

Instance Attribute Details

var _bitmap as WatchUi.BitmapResource

var _bitmapOffset as Lang.Number

var _label as Lang.String

Instance Method Details

draw(dc as Graphics.Dc) as Void

Draw the item's label and bitmap

Parameters:

  • dc —

    Device context

initialize(id as Lang.Symbol, label as Lang.String, bitmap as WatchUi.BitmapResource)

Constructor

Parameters:

  • id —

    The identifier for this item

  • label —

    Text to display

  • bitmap —

    Color of the text


Generated Oct 20, 2026, 8:20:47 AM