com.aspose.pdf.drawing

Class Shape

    • Constructor Detail

      • Shape

        public Shape()
    • Method Detail

      • getGraphInfo

        public GraphInfo getGraphInfo()

        Gets object that indicates the graph info,such as color, line width,etc.

        Returns:
        object that indicates the graph info.
      • setGraphInfo

        public void setGraphInfo(GraphInfo value)

        Sets object that indicates the graph info,such as color, line width,etc.

        Parameters:
        value - that indicates the graph info.
      • getText

        public TextFragment getText()

        Gets or sets a text for shape

        Returns:
        TextFragment object
      • setText

        public void setText(TextFragment value)

        Gets or sets a text for shape

        Parameters:
        value - TextFragment object