Instance Property

imageOrigin

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

Declaration

@property NSPoint imageOrigin;

Discussion

For a horizontal ruler, the x coordinate of the image origin is aligned with the location of the marker, and the y coordinate lies on the baseline of the ruler. For vertical rulers, the y coordinate of the image origin is the location, and the x coordinate lies on the baseline.

See Also

Setting the image

image

The receiver’s image.

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.