Function
| string
Sets the segment width of the ruler.
Defaults to null
number
Defines the unique interval of the ruler.
Defaults to 6
number
Defines the length of the ruler.
Defaults to 400
string
Defines the color of the marker.
Defaults to ‘red’
Defines the orientation of the ruler.
Defaults to ‘Horizontal’
number
Sets the segment width of the ruler.
Defaults to 36
number
Defines the thickness of the ruler.
Defaults to 15
Defines the alignment of the tick in the ruler.
Defaults to ‘RightOrBottom’
To destroy the ruler
Returns void