Skip to content

Marks, Ticks

Compare
Choose a tag to compare
@anastr anastr released this 27 Jul 06:24
· 99 commits to master since this release
e881608

new in this version:

  • dynamic marks #59 :
    • sv_marksNumber: set custom number of marks.
    • sv_marksPadding: padding from speedometer edge.
    • sv_markHeight and sv_markWidth: size of marks.
    • sv_markStyle: ROUND or BUTT.
    • markColor: color of marks.
  • enum Style class now moved out of Section class.
  • Style.SQUARE is Deprecated, use Style.BUTT.
  • for RaySpeedometer: sv_rayMarkWidth now points to the ray marks instead of sv_markWidth.
  • change custom ticks from list of speed values to list of speed offset scale [0 -1]:
    speedometer.ticks = arrayListOf(0f, .25f, .5f, .75f, 1f), old way speedometer.ticks = arrayListOf(0f, 25f, 50f, 75f, 100f)

fixes: