draw(_:)
Draws the receiver’s image that appears in the supplied rectangle.
Declaration
func draw(_ rect: NSRect)Parameters
- rect:
The rectangle to be drawn, in the ruler view’s coordinate system.
Draws the receiver’s image that appears in the supplied rectangle.
func draw(_ rect: NSRect)The rectangle to be drawn, in the ruler view’s coordinate system.