# NSClipView

ovidiu@net-community.com
richard@brainstorm.co.uk
Generated at 2026-02-17 21:02:56 +0000
1996 Free Software Foundation, Inc.
Software documentation for the NSClipView class
AppKit/NSClipView.h
Description forthcoming.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
autoscroll:
theEvent

Scrolls in response to mouse-dragged events.

backgroundColor

Returns the NSClipView's background color

See Also: -setBackgroundColor:

constrainScrollPoint:
proposedNewOrigin

copiesOnScroll
Description forthcoming.
documentCursor

Returns the cursor of the document view

See Also: -setDocumentCursor:

documentRect

Returns the document rectangle.

See Also: -documentVisibleRect

documentView

Returns the NSClipView's document view.

See Also: -setDocumentView:

documentVisibleRect

Returns the document visible rectangle in the document views coordinate system.

See Also: -documentRect [NSView -convertRect:toView:]

drawsBackground
Description forthcoming.
scrollToPoint:
aPoint
Description forthcoming.
setBackgroundColor:
aColor

Sets the NSClipView's background color to aColor and marks self for display. Sets the opaque flag if needed (to `YES` if the NSClipView does not draw its background, if the background color is `nil` or if the background color alpha component is less than 1.0, `NO` otherwise)

See Also: -backgroundColor [NSView -isOpaque]

setCopiesOnScroll:
flag
Description forthcoming.
setDocumentCursor:
aCursor

Sets the cursor for the document view to aCursor

See Also: -documentCursor

setDocumentView:
aView

Sets aView the NSClipView's document view to aView

See Also: -documentView

setDrawsBackground:
flag
Description forthcoming.