Package com.datalogics.PDFL
Class Quad
java.lang.Object
com.datalogics.PDFL.Quad
Represents a quadrilateral in a program. A quadrilateral is a polygon graphic that has four sides or edges and four corners, Bottom Left, Bottom Right, Top Left, and Top Right.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()booleanBottom left corner of the Quad.Bottom right corner of the Quad.Top left corner of the Quad.Top right corner of the Quad.toRect()Returns a rectangle describing the same area as the quad.toString()Returns a string representation of the quad by calling each point's ToString function.Create a new quad from the results of a Transform on each point of the Quad.
-
Constructor Details
-
Quad
public Quad()Creates a Quad with all points at the origin. -
Quad
Creates a Quad from a set of 4 points.
-
-
Method Details
-
delete
public void delete() -
equals
-
getTopLeft
Top left corner of the Quad. -
getTopRight
Top right corner of the Quad. -
getBottomLeft
Bottom left corner of the Quad. -
getBottomRight
Bottom right corner of the Quad. -
transform
Create a new quad from the results of a Transform on each point of the Quad. -
toString
Returns a string representation of the quad by calling each point's ToString function. -
toRect
Returns a rectangle describing the same area as the quad.
-