Instance Property

imageRectInRuler

The rectangle occupied by the receiver’s image.

Declaration

@property(readonly) NSRect imageRectInRuler;

Discussion

The rectangle occupied by the receiver’s image, in the ruler view's coordinate system, accounting for whether the ruler view's coordinate system is flipped.

See Also

Setting the image

image

The receiver’s image.

imageOrigin

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

thicknessRequiredInRuler

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