The orientation of the receiver to orientation
.
SDK
- macOS 10.0+
Framework
- App
Kit
Declaration
var orientation: NSRuler View.Orientation { get set }
Discussion
Possible values for orientation
are described in Constants.
The orientation of the receiver to orientation
.
SDK
Framework
var orientation: NSRuler View.Orientation { get set }
Possible values for orientation
are described in Constants.
var scroll View: NSScroll View?
The NSScrollView that owns the receiver to scroll
, without retaining it.
enum NSRuler View .Orientation
These constants are defined to specify a ruler’s orientation and are used by orientation
.
var reserved Thickness For Accessory View: CGFloat
The room available for the receiver’s accessory view to thickness
.
var reserved Thickness For Markers: CGFloat
The room available for ruler markers to thickness
.
var rule Thickness: CGFloat
The thickness of the area where ruler hash marks and labels are drawn.
var required Thickness: CGFloat
The thickness needed for proper tiling of the receiver within an NSScrollView.
var baseline Location: CGFloat
The location of the receiver’s baseline, in its own coordinate system.
var is Flipped: Bool
A Boolean that indicates if the ruler view's coordinate system is flipped.