Northwoods.Go Assembly > Northwoods.Go Namespace > GoObject Class : ContainsPoint Method |
PointF
in document coordinates.
PointF
in document coordinates.This method tries to return true for points near a stroke or near or inside a possibly filled object such as an ellipse or a polygon. This method ignores any drop shadow, but normally includes the width of any Pen
.
The default behavior of this method is to return true if the point p is within this object's Bounds. If this object's Width or Height are zero, the given point p has to be exactly on for this predicate to return true. However, some classes, such as GoStroke that is inherently somewhat "one dimensional", may intentionally be more forgiving by supporting some margin nearby where a point can be considered to be "inside" the object.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2