Instance Property

thicknessRequiredInRuler

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

Declaration

var thicknessRequiredInRuler: CGFloat { get }

Discussion

The amount of the receiver’s image that’s displayed above or to the left of the ruler view's baseline, the height for a horizontal ruler or width for a vertical ruler.

See Also

Setting the image

var image: NSImage

The receiver’s image.

var imageOrigin: NSPoint

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

var imageRectInRuler: NSRect

The rectangle occupied by the receiver’s image.