# Editor.SliderDrawing

Shared dimensions and painting for single-value and interval sliders.

- Kind: class
- Namespace: `Editor`
- Assembly: `Sandbox.Tools`
- Modifiers: static, abstract, sealed

## Fields

- [`HandleHeight`](/api/Editor.SliderDrawing/HandleHeight): Height of a slider handle.
- [`HandleWidth`](/api/Editor.SliderDrawing/HandleWidth): Width of a slider handle, also used when mapping values to track positions.
- [`TrackHeight`](/api/Editor.SliderDrawing/TrackHeight): Height of the track and its highlighted interval.
- [`ValueWidth`](/api/Editor.SliderDrawing/ValueWidth): Width reserved for a slider's numeric entry.

## Methods

- [`DrawHandle`](/api/Editor.SliderDrawing/DrawHandle): Draws a handle centered at the given position, measured from the left of rect. Uses the owning widget's cursor and enabled state for hover highlighting.
- [`DrawTrack`](/api/Editor.SliderDrawing/DrawTrack): Draws the track and selected interval. Endpoint positions are measured from the left of rect, at the centers of the handles.
