Class Quadrilateral
- java.lang.Object
-
- com.pdftools.toolbox.internal.NativeBase
-
- com.pdftools.toolbox.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 frombottomLefttobottomLeft.
-
-
Field Summary
Fields Modifier and Type Field Description PointbottomLeftPointbottomRightPointtopLeftPointtopRight
-
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 booleanequals(java.lang.Object obj)PointgetBottomLeft()GetsbottomLeftPointgetBottomRight()GetsbottomRightPointgetTopLeft()GetstopLeftPointgetTopRight()GetstopRightinthashCode()voidsetBottomLeft(Point bottomLeft)SetsbottomLeftvoidsetBottomRight(Point bottomRight)SetsbottomRightvoidsetTopLeft(Point topLeft)SetstopLeftvoidsetTopRight(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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-