Expand description

Utilities for writing VIZIA widgets.

Traits

  • An extension trait for [Modifiers] that adds platform-independent getters.

Functions

  • Remap an x-coordinate to a [0, 1] value within the current entity’s bounding box. The value will be clamped to [0, 1] if it isn’t already in that range. This ignores the border width.
  • Remap a [0, 1] value to an x-coordinate within the current entity’s bounding box. The value will be clamped to [0, 1] if it isn’t already in that range. This ignores the border width.
  • Remap an y-coordinate to a [0, 1] value within the current entity’s bounding box. The value will be clamped to [0, 1] if it isn’t already in that range. This ignores the border width.
  • Remap a [0, 1] value to a y-coordinate within the current entity’s bounding box. The value will be clamped to [0, 1] if it isn’t already in that range. This ignores the border width.