Skip to main content

Box

Box control

title: 'red box'
box id: b at: [-1,-1] size: [2,2] text: 'box'

box attributes

Box support number of attributes which are mostly self describing like:

  • id - unique id of box - mandatory
  • group - prefix for id, optional
  • at - box start location - optional - default: (0,0)
  • text - box text - optional - default: empty string
  • size - box size - optional - default: cell size
  • visible - is box visible - optional - default: true
  • selected - is box selected - optional - default: false
  • color - background color of box - optional - default: value from internal color table selected by: len(controls) modulo len(color_table)
  • fontSize - font size - optional (this is experimental and subject to change)