Instance Method

rectOfTickMark(at:)

Returns the bounding rectangle of the tick mark identified by the specified index (the minimum-value tick mark is at index 0).

Declaration

func rectOfTickMark(at index: Int) -> NSRect

Discussion

If no tick mark is associated with index, the method raises an NSRangeException.

See Also

Managing Tick Marks and Style

var tickMarkPosition: NSSlider.TickMarkPosition

Determines how the receiver’s tick marks are aligned with it.

var numberOfTickMarks: Int

The number of tick marks associated with the receiver.

var numberOfMajorTickMarks: Int

The number of major tick marks associated with the receiver.

func tickMarkValue(at: Int) -> Double

Returns the receiver’s value represented by the tick mark at the specified index (the minimum-value tick mark has an index of 0).

var levelIndicatorStyle: NSLevelIndicator.Style

The appearance of the indicator.

enum NSLevelIndicator.Style

Constants that specify a level indicator's appearance.