public class PositionRectangle extends Object implements Serializable
Constructor and Description |
---|
PositionRectangle()
A constructor that creates a
PositionRectangle object. |
PositionRectangle(int lowerLeftX,
int lowerLeftY,
int width,
int height)
A constructor that creates a
PositionRectangle object. |
Modifier and Type | Method and Description |
---|---|
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.
|
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.
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.Copyright © 1982–2022 Adobe Systems Inc.. All rights reserved.