MonobjcMonobjc Documented Class Library
ContainsPoint Method (aPoint)
NamespacesMonobjc.AppKitNSTextContainerContainsPoint(NSPoint)

Overridden by subclasses to return whether a point lies within the receiver’s region or on the region’s edge—not simply within its bounding rectangle.

Original signature is '- (BOOL)containsPoint:(NSPoint)aPoint'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool ContainsPoint(
	NSPoint aPoint
)
Public Overridable Function ContainsPoint ( _
	aPoint As NSPoint _
) As Boolean
public:
virtual bool ContainsPoint(
	NSPoint aPoint
)
Parameters
aPoint (NSPoint)
The point in question.
Return Value
YES if aPoint lies within the receiver’s region or on the region’s edge—not simply within its bounding rectangle—NO otherwise.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)