Top Description Fields Constructors Methods
org.apache.pdfbox.pdmodel.common

public final Class PDImmutableRectangle

extends PDRectangle
Class Inheritance

Immutable class for constant sizes.

Field Summary

Inherited from org.apache.pdfbox.pdmodel.common.PDRectangle:
A0A1A2A3A4A5A6LEGALLETTERTABLOID

Constructor Summary

AccessConstructor and Description
public
PDImmutableRectangle(float
The width of the rectangle.
width
,
float
The height of the rectangle.
height
)

Constructor for immutable rectangle.

Method Summary

Modifier and TypeMethod and Description
public void
setLowerLeftX(float
The lower left x.
value
)

Overrides org.apache.pdfbox.pdmodel.common.PDRectangle.setLowerLeftX.

This will set the lower left x coordinate.

public void
setLowerLeftY(float
The lower left y.
value
)

Overrides org.apache.pdfbox.pdmodel.common.PDRectangle.setLowerLeftY.

This will set the lower left y coordinate.

public void
setUpperRightX(float
The upper right x .
value
)

Overrides org.apache.pdfbox.pdmodel.common.PDRectangle.setUpperRightX.

This will set the upper right x coordinate.

public void
setUpperRightY(float
The upper right y.
value
)

Overrides org.apache.pdfbox.pdmodel.common.PDRectangle.setUpperRightY.

This will set the upper right y coordinate.

Inherited from org.apache.pdfbox.pdmodel.common.PDRectangle:
containscreateRetranslatedRectanglegetCOSArraygetCOSObjectgetHeightgetLowerLeftXgetLowerLeftYgetUpperRightXgetUpperRightYgetWidthtoGeneralPathtoStringtransform

Constructor Detail

PDImmutableRectangleback to summary
public PDImmutableRectangle(float width, float height)

Constructor for immutable rectangle.

Parameters
width:float

The width of the rectangle.

height:float

The height of the rectangle.

Method Detail

setLowerLeftXback to summary
public void setLowerLeftX(float value)

Overrides org.apache.pdfbox.pdmodel.common.PDRectangle.setLowerLeftX.

Doc from org.apache.pdfbox.pdmodel.common.PDRectangle.setLowerLeftX.

This will set the lower left x coordinate.

Parameters
value:float

The lower left x.

Annotations
@Override
setLowerLeftYback to summary
public void setLowerLeftY(float value)

Overrides org.apache.pdfbox.pdmodel.common.PDRectangle.setLowerLeftY.

Doc from org.apache.pdfbox.pdmodel.common.PDRectangle.setLowerLeftY.

This will set the lower left y coordinate.

Parameters
value:float

The lower left y.

Annotations
@Override
setUpperRightXback to summary
public void setUpperRightX(float value)

Overrides org.apache.pdfbox.pdmodel.common.PDRectangle.setUpperRightX.

Doc from org.apache.pdfbox.pdmodel.common.PDRectangle.setUpperRightX.

This will set the upper right x coordinate.

Parameters
value:float

The upper right x .

Annotations
@Override
setUpperRightYback to summary
public void setUpperRightY(float value)

Overrides org.apache.pdfbox.pdmodel.common.PDRectangle.setUpperRightY.

Doc from org.apache.pdfbox.pdmodel.common.PDRectangle.setUpperRightY.

This will set the upper right y coordinate.

Parameters
value:float

The upper right y.

Annotations
@Override