Returns the image associated with the specified segment.
- macOS 10.3+
The index of the segment whose image you want to get. This method raises an exception (
NSRange) if the index is out of bounds.
The image associated with the segment; otherwise,