Instance Method

rectOfTickMarkAtIndex:

Returns the bounding rectangle of the tick mark at the specified index.

Declaration

- (NSRect)rectOfTickMarkAtIndex:(NSInteger)index;

Parameters

index

The index of the tick mark for which to return the bounding rectangle. The minimum-value tick mark is at index 0.

Return Value

The bounding rectangle of the specified tick mark.

Discussion

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

See Also

Managing Tick Marks

allowsTickMarkValuesOnly

A Boolean value indicating whether the receiver fixes its values to those values represented by its tick marks.

- closestTickMarkValueToValue:

Returns the value of the tick mark closest to the specified value.

- indexOfTickMarkAtPoint:

Returns the index of the tick mark closest to the location of the slider represented by the specified point.

numberOfTickMarks

The number of tick marks associated with the slider, including the tick marks assigned to the minimum and maximum values.

tickMarkPosition

The position of the tick marks relative to the receiver.

- tickMarkValueAtIndex:

Returns the receiver’s value represented by the tick mark at the specified index.