public final class PDImmutableRectangle extends PDRectangle
| Constructor and Description |
|---|
PDImmutableRectangle(float width,
float height)
Constructor for immutable rectangle.
|
| Modifier and Type | Method and Description |
|---|---|
void |
setLowerLeftX(float value)
This will set the lower left x coordinate.
|
void |
setLowerLeftY(float value)
This will set the lower left y coordinate.
|
void |
setUpperRightX(float value)
This will set the upper right x coordinate.
|
void |
setUpperRightY(float value)
This will set the upper right y coordinate.
|
contains, createRetranslatedRectangle, getCOSArray, getCOSObject, getHeight, getLowerLeftX, getLowerLeftY, getUpperRightX, getUpperRightY, getWidth, toGeneralPath, toString, transformpublic PDImmutableRectangle(float width,
float height)
width - The width of the rectangle.height - The height of the rectangle.public void setUpperRightY(float value)
setUpperRightY in class PDRectanglevalue - The upper right y.public void setUpperRightX(float value)
setUpperRightX in class PDRectanglevalue - The upper right x .public void setLowerLeftY(float value)
setLowerLeftY in class PDRectanglevalue - The lower left y.public void setLowerLeftX(float value)
setLowerLeftX in class PDRectanglevalue - The lower left x.Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.