RulerModel

23 Sep 20251 minute to read

Interface for a class Ruler

Properties

arrangeTick Function|string

Sets the segment width of the ruler.

enablePersistence boolean

Enable or disable persisting component’s state between page reloads.

enableRtl boolean

Enable or disable rendering component in right to left direction.

interval number

Defines the unique interval of the ruler.

length number

Defines the length of the ruler.

locale string

Overrides the global culture and localization value for this component. Default global culture is ‘en-US’.

markerColor string

Defines the color of the marker.

orientation RulerOrientation

Defines the orientation of the ruler.

segmentWidth number

Sets the segment width of the ruler.

thickness number

Defines the thickness of the ruler.

tickAlignment TickAlignment

Defines the alignment of the tick in the ruler.