Methods
getScrollPos()
    Gets the scroll position of the ruler.
        
            
    
    getRulerScrollPos()
    Scroll position of the ruler (horizontal: x, vertical: y)
        
            
    
    getGuideScrollPos()
    Scroll position of guides (horizontal: y, vertical: x)
        
            
    
    drawRuler(options)
    Draw ruler
    
| Name | Type | Description | 
|---|---|---|
| options | DrawRulerOptions | 
draw(optionsopt)
    draw a ruler
    
| Name | Type | Default | Description | 
|---|---|---|---|
| options? | DrawRulerOptions | {} | It is drawn with an external value, not the existing state. |