com.groupdocs.watermark

Interfaces

Classes

Exceptions

com.groupdocs.watermark

Class DiagramShape

    • Method Detail

      • getPage

        public final DiagramPage getPage()

        Gets the parent page of this DiagramPage.

        Returns:
        The parent page of this DiagramPage.
      • getWidth

        public final double getWidth()

        Gets the width of this DiagramShape in points.

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

        public final double getHeight()

        Gets the height of this DiagramShape in points.

        Specified by:
        getHeight in interface ITwoDObject
        Returns:
        The height of this DiagramShape in points.
      • getX

        public final double getX()

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

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

        public final double getY()

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

        Specified by:
        getY in interface ITwoDObject
        Returns:
        The y-coordinate of this DiagramShape.
      • getRotateAngle

        public final double getRotateAngle()

        Gets the rotate angle of this DiagramShape in degrees.

        Specified by:
        getRotateAngle in interface IRotatableTwoDObject
        Returns:
        The rotate angle of this DiagramShape in degrees.
      • getText

        public final String getText()

        Gets the text of this DiagramShape.

        Returns:
        The text of this DiagramShape.
      • setText

        public final void setText(String value)

        Sets the text of this DiagramShape.

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

        public final FormattedTextFragmentCollection getFormattedTextFragments()

        Gets the collection of formatted text fragments of this DiagramShape.

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

        public final DiagramWatermarkableImage getImage()

        Gets the image of this DiagramShape.

        Returns:
        The image of this DiagramShape. Returns null if the shape has no image.
      • setImage

        public final void setImage(DiagramWatermarkableImage value)

        Sets the image of this DiagramShape.

        Parameters:
        value - The image of this DiagramShape. Returns null if the shape has no image.
      • getId

        public final long getId()

        Gets the identifier of this DiagramShape.

        Returns:
        The identifier of this DiagramShape.
      • getName

        public final String getName()

        Gets the name of this DiagramShape.

        Returns:
        The name of this DiagramShape.
      • getHyperlinks

        public final DiagramHyperlinkCollection getHyperlinks()

        Gets the collection of hyperlinks attached to this DiagramShape.

        Returns:
        The collection of hyperlinks attached to this DiagramShape.