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, transform
public 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 PDRectangle
value
- The upper right y.public void setUpperRightX(float value)
setUpperRightX
in class PDRectangle
value
- The upper right x .public void setLowerLeftY(float value)
setLowerLeftY
in class PDRectangle
value
- The lower left y.public void setLowerLeftX(float value)
setLowerLeftX
in class PDRectangle
value
- The lower left x.Copyright © 2002–2021 The Apache Software Foundation. All rights reserved.