Class PDImmutableRectangle

  • All Implemented Interfaces:
    COSObjectable

    public final class PDImmutableRectangle
    extends PDRectangle
    Immutable class for constant sizes.
    • Constructor Detail

      • PDImmutableRectangle

        public PDImmutableRectangle​(float width,
                                    float height)
        Constructor for immutable rectangle.
        Parameters:
        width - The width of the rectangle.
        height - The height of the rectangle.
    • Method Detail

      • setUpperRightY

        public void setUpperRightY​(float value)
        This will set the upper right y coordinate.
        Overrides:
        setUpperRightY in class PDRectangle
        Parameters:
        value - The upper right y.
      • setUpperRightX

        public void setUpperRightX​(float value)
        This will set the upper right x coordinate.
        Overrides:
        setUpperRightX in class PDRectangle
        Parameters:
        value - The upper right x .
      • setLowerLeftY

        public void setLowerLeftY​(float value)
        This will set the lower left y coordinate.
        Overrides:
        setLowerLeftY in class PDRectangle
        Parameters:
        value - The lower left y.
      • setLowerLeftX

        public void setLowerLeftX​(float value)
        This will set the lower left x coordinate.
        Overrides:
        setLowerLeftX in class PDRectangle
        Parameters:
        value - The lower left x.