com.groupdocs.watermark

Interfaces

Classes

Exceptions

com.groupdocs.watermark

Class PdfArtifact

    • Method Detail

      • getPage

        public final PdfPage getPage()

        Gets the parent page of this PdfArtifact.

        Returns:
        The parent page of this PdfArtifact.
      • getText

        public String getText()

        Gets the text of this PdfArtifact.

        Overrides:
        getText in class PdfShape
        Returns:
        The text of this PdfArtifact.
      • setText

        public void setText(String value)

        Sets the text of this PdfArtifact.

        Overrides:
        setText in class PdfShape
        Parameters:
        value - The text of this PdfArtifact.
      • getArtifactType

        public final int getArtifactType()

        Gets the type of this PdfArtifact.

        Returns:
        The type of this PdfArtifact.
      • getArtifactSubtype

        public final int getArtifactSubtype()

        Gets the subtype of this PdfArtifact.

        Returns:
        The subtype of this PdfArtifact.
      • getOpacity

        public final double getOpacity()

        Gets the opacity of this PdfArtifact.

        Returns:
        The opacity of this PdfArtifact. Possible values are in range [0, 1].
      • getX

        public double getX()

        Gets the horizontal offset of this PdfArtifact from page left border in points.

        Specified by:
        getX in interface ITwoDObject
        Specified by:
        getX in class PdfShape
        Returns:
        The x-coordinate of this PdfArtifact.
      • getY

        public double getY()

        Gets the vertical offset of this PdfArtifact from page bottom border in points.

        Specified by:
        getY in interface ITwoDObject
        Specified by:
        getY in class PdfShape
        Returns:
        The y-coordinate of this PdfArtifact.
      • getWidth

        public double getWidth()

        Gets the width of this PdfArtifact in points.

        Specified by:
        getWidth in interface ITwoDObject
        Specified by:
        getWidth in class PdfShape
        Returns:
        The width of this PdfArtifact in points.
      • getHeight

        public double getHeight()

        Gets the height of this PdfArtifact in points.

        Specified by:
        getHeight in interface ITwoDObject
        Specified by:
        getHeight in class PdfShape
        Returns:
        The height of this PdfArtifact in points.