Module: $.Utils

Overview

Instance Method Summary collapse

Instance Method Details

drawDistance(dc as Graphics.Dc, distance as Lang.Number or Null) as Void

Draw the distance at the bottom of the screen

Parameters:

  • dc —

    Draw context

  • distance —

    Distance in cm

drawGoalProgress(dc as Graphics.Dc, current as Lang.Number or Null, goal as Lang.Number or Null, type as Lang.String) as Void

Draw a progress bar and text

Parameters:

  • dc —

    Draw context

  • current —

    Current amount of progress towards goal

  • goal —

    Value of goal

  • type —

    Type of goal


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