public class PDInsets
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
float |
bottom
The inset from the bottom.
|
float |
left
The inset from the left.
|
float |
right
The inset from the right.
|
float |
top
The inset from the top.
|
| Constructor and Description |
|---|
PDInsets(int top,
int left,
int bottom,
int right)
Creates and initializes a new
PDInsets object with the
specified top, left, bottom, and right insets. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Create a copy of this object.
|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
java.lang.String |
toString()
Returns a string representation of this
PDInsets object. |
public final float top
clone()public final float left
clone()public final float bottom
clone()public final float right
clone()public PDInsets(int top,
int left,
int bottom,
int right)
PDInsets object with the
specified top, left, bottom, and right insets.top - the inset from the top.left - the inset from the left.bottom - the inset from the bottom.right - the inset from the right.public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
PDInsets object.
This method is intended to be used only for debugging purposes, and
the content and format of the returned string may vary between
implementations. The returned string may be empty but may not be
null.toString in class java.lang.ObjectPDInsets object.public java.lang.Object clone()
clone in class java.lang.ObjectPDInsets object.