Skip to content

Compass.md

cfloutier edited this page Apr 27, 2024 · 12 revisions

K2Compass

The Compass is used to gives and set the heading direction

image

Attributes

  • value : float angle. the heading value in degrees [0-360]

  • angle-range : float angle, default is 90°. the visible angle range. We see from center andle +/- angle-range ex : with 200° : image it could be useful for larger windows

  • interactive : boolean. if true the user can drag the compass to choose the direction.

uss classes

  • the buttons uses the .toggle_button class
  • the InlineEnum used the .inline_enum class

Clone this wiki locally