public class Border
Modifier and Type | Class and Description |
---|---|
static class |
Border.Companion |
Modifier and Type | Field and Description |
---|---|
static Border.Companion |
Companion |
Constructor and Description |
---|
Border(float top,
float right,
float bottom,
float left,
java.awt.Color topColor,
java.awt.Color rightColor,
java.awt.Color bottomColor,
java.awt.Color leftColor) |
Border() |
Border(float top,
float right,
float bottom,
float left,
java.awt.Color color) |
Border(float width,
java.awt.Color color) |
Modifier and Type | Method and Description |
---|---|
float |
component1() |
float |
component2() |
float |
component3() |
float |
component4() |
java.awt.Color |
component5() |
java.awt.Color |
component6() |
java.awt.Color |
component7() |
java.awt.Color |
component8() |
Border |
copy(float top,
float right,
float bottom,
float left,
java.awt.Color topColor,
java.awt.Color rightColor,
java.awt.Color bottomColor,
java.awt.Color leftColor) |
void |
drawBorder(Document document,
org.apache.pdfbox.pdmodel.PDDocument pdDocument,
float startX,
float endX,
float startY,
float endY)
Given a box defined by the opposite corners (startX, startY) and (endX, endY), draws
the surrounding border.
|
boolean |
equals(java.lang.Object p) |
float |
getBottom() |
java.awt.Color |
getBottomColor() |
static Border |
getHALF() |
float |
getLeft() |
java.awt.Color |
getLeftColor() |
static Border |
getONE() |
float |
getRight() |
java.awt.Color |
getRightColor() |
float |
getTop() |
java.awt.Color |
getTopColor() |
static Border |
getZERO() |
int |
hashCode() |
java.lang.String |
toString() |
public static Border.Companion Companion
public Border(float top, float right, float bottom, float left, java.awt.Color topColor, java.awt.Color rightColor, java.awt.Color bottomColor, java.awt.Color leftColor)
public Border()
public Border(float top, float right, float bottom, float left, java.awt.Color color)
public Border(float width, java.awt.Color color)
public void drawBorder(Document document, org.apache.pdfbox.pdmodel.PDDocument pdDocument, float startX, float endX, float startY, float endY)
Given a box defined by the opposite corners (startX, startY) and (endX, endY), draws the surrounding border.
public float getTop()
public float getRight()
public float getBottom()
public float getLeft()
public java.awt.Color getTopColor()
public java.awt.Color getRightColor()
public java.awt.Color getBottomColor()
public java.awt.Color getLeftColor()
public float component1()
public float component2()
public float component3()
public float component4()
public java.awt.Color component5()
public java.awt.Color component6()
public java.awt.Color component7()
public java.awt.Color component8()
public Border copy(float top, float right, float bottom, float left, java.awt.Color topColor, java.awt.Color rightColor, java.awt.Color bottomColor, java.awt.Color leftColor)
public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)
public static Border getZERO()
public static Border getHALF()
public static Border getONE()