Quadrangle
Quadrangle class
Stores a set of four Points that represent a Quadrangle region.
public class Quadrangle : joint.BaseJavaClass
Constructors
| Name | Description |
|---|
| Quadrangle(object, object, object, object) | Initializes a new instance of the Quadrangle structure with the describing points. |
Methods
| Name | Description |
|---|
| EMPTY | Represents a Quadrangle structure with its properties left uninitialized.Value: Quadrangle. |
| construct(object) | |
| contains(object) | Determines if the specified Point is contained within this Quadrangle structure. |
| containsPoint(object, object) | Determines if the specified point is contained within this Quadrangle structure. |
| containsQuadrangle(object) | Determines if the specified Quadrangle is contained or intersect this Quadrangle structure. |
| containsRectangle(object) | Determines if the specified Rectangle is contained or intersect this Quadrangle structure. |
| equals(object) | Returns a value indicating whether this instance is equal to a specified Quadrangle value. |
| getBoundingRectangle | Creates Rectangle bounding this Quadrangle. |
| getLeftBottom | Gets left-bottom corner Point of Quadrangle regionValue: A left-bottom corner Point of Quadrangle region. |
| getLeftTop | Gets left-top corner Point of Quadrangle regionValue: A left-top corner Point of Quadrangle region. |
| getRightBottom | Gets right-bottom corner Point of Quadrangle regionValue: A right-bottom corner Point of Quadrangle region. |
| getRightTop | Gets right-top corner Point of Quadrangle regionValue: A right-top corner Point of Quadrangle region. |
| hashCode | Returns the hash code for this instance. |
| init | |
| isEmpty | Tests whether all Points of this Quadrangle have values of zero.Value: Returns true if all Points of this Quadrangle have values of zero; otherwise, false. |
| javaClassName | |
| setLeftBottom(object) | Sets left-bottom corner Point of Quadrangle regionValue: A left-bottom corner Point of Quadrangle region. |
| setLeftTop(object) | Sets left-top corner Point of Quadrangle regionValue: A left-top corner Point of Quadrangle region. |
| setRightBottom(object) | Sets right-bottom corner Point of Quadrangle regionValue: A right-bottom corner Point of Quadrangle region. |
| setRightTop(object) | Sets right-top corner Point of Quadrangle regionValue: A right-top corner Point of Quadrangle region. |
| toString | Returns a human-readable string representation of this Quadrangle. |
Fields
See Also