Global

Methods

getScrollPos()

Source:
Gets the scroll position of the ruler.

getRulerScrollPos()

Source:
Scroll position of the ruler (horizontal: x, vertical: y)

getGuideScrollPos()

Source:
Scroll position of guides (horizontal: y, vertical: x)

drawRuler(options)

Source:
Draw ruler
Name Type Description
options DrawRulerOptions

draw(optionsopt)

Source:
draw a ruler
Name Type Default Description
options? DrawRulerOptions {} It is drawn with an external value, not the existing state.