MonobjcMonobjc Documented Class Library
ContainsPoint Method (thePoint)
NamespacesMonobjc.QuartzCoreCALayerContainsPoint(CGPoint)

Returns whether the receiver contains a specified point.

Original signature is '- (BOOL)containsPoint:(CGPoint)thePoint'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool ContainsPoint(
	CGPoint thePoint
)
Public Overridable Function ContainsPoint ( _
	thePoint As CGPoint _
) As Boolean
public:
virtual bool ContainsPoint(
	CGPoint thePoint
)
Parameters
thePoint (CGPoint)
A point in the receiver’s coordinate system.
Return Value
YES if the bounds of the layer contains the point.
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)