|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.adobe.livecycle.signatures.client.types.PositionRectangle
public class PositionRectangle
Represents the position of a signature field located within a PDF document. A signature field's rectangle defines the location of the signature field on the PDF document page in default user space units. An object of this type is used when programmatically adding a signature field to a PDF document. To see this type used in a code example, see the Adding a signature field to a PDF document using the Java API quick start in Programming with LiveCycle ES3.
Constructor Summary | |
---|---|
PositionRectangle()
A constructor that creates a PositionRectangle object. |
|
PositionRectangle(int lowerLeftX,
int lowerLeftY,
int width,
int height)
A constructor that creates a PositionRectangle object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
Specifies if this type is equal to a specific object. |
int |
getHeight()
Returns the height of the signature field. |
int |
getLowerLeftX()
Returns the lower-left X position of the signature field. |
int |
getLowerLeftY()
Returns the lower-left Y position of the signature field. |
int |
getWidth()
Returns the width of the signature field. |
void |
setHeight(int height)
Sets the height of the signature field. |
void |
setLowerLeftX(int lowerLeftX)
Sets the lower-left X position of the signature field. |
void |
setLowerLeftY(int lowerLeftY)
Sets the lower-left Y position of the signature field. |
void |
setWidth(int width)
Sets the width of the signature field. |
String |
toString()
Returns this type as a string. |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PositionRectangle()
PositionRectangle
object.
public PositionRectangle(int lowerLeftX, int lowerLeftY, int width, int height)
PositionRectangle
object.
lowerLeftX
- The lower-left X side of the signature field.lowerLeftY
- The lower-left Y side of the signature field.width
- The width of the signature field.height
- The height of the signature field.
Negative values are not allowed for lowerLeftX and lowerLeftY because the origin of PDF documents start at lower left (for example, 0,0). Negative values are not allowed for height and width values.
Method Detail |
---|
public int getHeight()
public int getWidth()
public String toString()
toString
in class Object
Object.toString()
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
public int getLowerLeftX()
public void setLowerLeftX(int lowerLeftX)
lowerLeftX
- The lower-left X position of the signature field.public int getLowerLeftY()
public void setLowerLeftY(int lowerLeftY)
lowerLeftY
- The lower-left Y position of the signature field.public void setHeight(int height)
height
- The height of the signature field.public void setWidth(int width)
width
- The width of the signature field.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |