Instance Property

image

The receiver’s image.

Declaration

@property(strong) NSImage *image;

Discussion

The image used to draw the marker must be appropriate for the orientation of the ruler. Markers may need to look different on a horizontal ruler than on a vertical ruler, and the ruler view neither scales nor rotates the images.

See Also

Setting the image

imageOrigin

The point in the receiver’s image that is positioned at the receiver’s location on the ruler view.

imageRectInRuler

The rectangle occupied by the receiver’s image.

thicknessRequiredInRuler

The amount of the receiver’s image that’s displayed above or to the left of the ruler view's baseline.