Declaration

func scroll(_ point: NSPoint, toReferencePoint referencePoint: NSPoint)

Declaration

- (void) scrollPoint:(NSPoint) point toReferencePoint:(NSPoint) referencePoint;

Declaration

scrollPoint_toReferencePoint_(point: NSPoint, referencePoint: NSPoint)

Parameters

point

The point to scroll to the reference point. The coordinates are in view points.

referencePoint

The point to scroll to. The coordinates are in view points from the origin (top left) of the visible rect of the clip view excluding inserts. The center reference point, for example, would be the mid-x and mid-y of the user visible frame.