Method Contains
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
Contains(DisplayBox)
Gets whether this box holds another wholly.
public bool Contains(DisplayBox other)
Parameters
otherDisplayBoxThe other box.
Returns
- bool
True when the other lies inside.
Contains(double, double)
Gets whether this box holds a point.
public bool Contains(double x, double y)
Parameters
Returns
- bool
True when the point is inside or on the edge.