Instance Property

baselineLocation

The location of the receiver’s baseline, in its own coordinate system.

Declaration

@property(readonly) CGFloat baselineLocation;

Discussion

This is a y position for horizontal rulers and an x position for vertical ones.

See Also

Ruler layout

scrollView

The NSScrollView that owns the receiver to scrollView, without retaining it.

orientation

The orientation of the receiver to orientation.

NSRulerOrientation

These constants are defined to specify a ruler’s orientation and are used by orientation.

reservedThicknessForAccessoryView

The room available for the receiver’s accessory view to thickness.

reservedThicknessForMarkers

The room available for ruler markers to thickness.

ruleThickness

The thickness of the area where ruler hash marks and labels are drawn.

requiredThickness

The thickness needed for proper tiling of the receiver within an NSScrollView.

flipped

A Boolean that indicates if the ruler view's coordinate system is flipped.