com.groupdocs.watermark

Interfaces

Classes

Exceptions

com.groupdocs.watermark

Class PdfShape

    • Method Detail

      • getText

        public String getText()

        Gets the text of this PdfShape.

        Returns:
        The text of this PdfShape.
      • setText

        public void setText(String value)

        Sets the text of this PdfShape.

        Parameters:
        value - The text of this PdfShape.
      • getFormattedTextFragments

        public final FormattedTextFragmentCollection getFormattedTextFragments()

        Gets the collection of formatted text fragments of this PdfShape.

        Returns:
        The collection of formatted text fragments of this PdfShape.
      • getImage

        public final PdfWatermarkableImage getImage()

        Gets the image of this PdfShape.

        Returns:
        The image of this PdfShape. Returns null if the object has no image.
      • setImage

        public final void setImage(PdfWatermarkableImage value)

        Sets the image of this PdfShape.

        Parameters:
        value - The image of this PdfShape. Returns null if the object has no image.
      • getX

        public abstract double getX()

        Gets the x-coordinate of the object.

        Specified by:
        getX in interface ITwoDObject
        Returns:
        The x-coordinate of the object.
      • getY

        public abstract double getY()

        Gets the y-coordinate of the object.

        Specified by:
        getY in interface ITwoDObject
        Returns:
        The y-coordinate of the object.
      • getWidth

        public abstract double getWidth()

        Gets the width of the object.

        Specified by:
        getWidth in interface ITwoDObject
        Returns:
        The width of the object.
      • getHeight

        public abstract double getHeight()

        Gets the height of the object.

        Specified by:
        getHeight in interface ITwoDObject
        Returns:
        The height of the object.
      • getRotateAngle

        public abstract double getRotateAngle()

        Gets the rotate angle of the object in degrees.

        Specified by:
        getRotateAngle in interface IRotatableTwoDObject
        Returns:
        The rotate angle of the object in degrees.