API Docs for: 1.4.4
Show:

ugsChordBuilder.settings Class

"Properties, Options, Preferences" such as fretboard size and colors; dot attributes, the cursors, fonts etc.

Methods

anchorPos

() static

Fretboard upper left hand corner position (pseudo-constants)

centerFretboard

(
  • canvas
)
Void

re-centers the fretboard's anchor position

Parameters:

  • canvas Element

Returns:

Void:

targetAnchorPos

() Postion

Top left-hand corner where Targets begin positioning

Returns:

Postion:

targetDimensions

() JSON

Dimensions of a single target

Returns:

JSON:

{width: ?, height: ? }

Properties

FONT_STACK

String final

San-serif font stack used when drawing text on Canvas.