Class Quadrilateral
- java.lang.Object
-
- com.pdf_tools.fourheights.pdftoolbox.internal.NativeBase
-
- com.pdf_tools.fourheights.pdftoolbox.geometry.real.Quadrilateral
-
public class Quadrilateral extends NativeBase
A quadrilateral is a polygon with four sides and four corners. When associated with text, the horizontal text writing direction goes frombottomLeft
tobottomLeft
.
-
-
Field Summary
Fields Modifier and Type Field Description Point
bottomLeft
Point
bottomRight
Point
topLeft
Point
topRight
-
Constructor Summary
Constructors Constructor Description Quadrilateral()
Constructor.Quadrilateral(Point bottomLeft, Point bottomRight, Point topRight, Point topLeft)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
Point
getBottomLeft()
GetsbottomLeft
Point
getBottomRight()
GetsbottomRight
Point
getTopLeft()
GetstopLeft
Point
getTopRight()
GetstopRight
int
hashCode()
void
setBottomLeft(Point bottomLeft)
SetsbottomLeft
void
setBottomRight(Point bottomRight)
SetsbottomRight
void
setTopLeft(Point topLeft)
SetstopLeft
void
setTopRight(Point topRight)
SetstopRight
-
-
-
Method Detail
-
getBottomLeft
public Point getBottomLeft()
GetsbottomLeft
-
setBottomLeft
public void setBottomLeft(Point bottomLeft)
SetsbottomLeft
-
getBottomRight
public Point getBottomRight()
GetsbottomRight
-
setBottomRight
public void setBottomRight(Point bottomRight)
SetsbottomRight
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-