BiShape
This class is an abstract base class for describing the shapes of Image areas. This is a very general class and can be extended to mean a variety of things.
This class extends BiObject and therefore all methods and fields available for BiObject are also available for BiShape .
Constructor
new BiShape ( )
Parameters
No parameters.
Properties
None.
Methods
| Name | Description |
contains | This method returns a Boolean indicating if the point(x,y) is contained within this shape.If true, it means that (x,y) is within this shape. Otherwise, (x,y) is outside the bounds of this shape. |
Events
None.
Static Methods
None.
Static Fields
None.
Remarks
None.
Method Details
contains
This method returns a Boolean indicating if the point(x,y) is contained within this shape.
If true, it means that (x,y) is within this shape. Otherwise, (x,y) is outside the bounds of this shape.
Syntax
object.contains ( x,y ) Parameters
| Name | Type | Optional | Default | Descripton |
x | Number | The x value of the coordinate. | ||
y | Number | The y value of the the coordinate. |
Return Type
Boolean