Class Shape

java.lang.Object
com.independentsoft.office.drawing.Shape
All Implemented Interfaces:
IGroupElement

public class Shape extends Object implements IGroupElement
The Class Shape.
  • Constructor Details

    • Shape

      public Shape()
      Instantiates a new shape.
  • Method Details

    • clone

      public Shape clone()
      Specified by:
      clone in interface IGroupElement
      Overrides:
      clone in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getShapeProperties

      public ShapeProperties getShapeProperties()
      Gets the shape properties.
      Returns:
      the shape properties
    • getTextShape

      public TextShape getTextShape()
      Gets the text shape.
      Returns:
      the text shape
    • setTextShape

      public void setTextShape(TextShape textShape)
      Sets the text shape.
      Parameters:
      textShape - the new text shape
    • getStyle

      public ShapeStyle getStyle()
      Gets the style.
      Returns:
      the style
    • setStyle

      public void setStyle(ShapeStyle style)
      Sets the style.
      Parameters:
      style - the new style
    • getLocking

      public ShapeLocking getLocking()
      Gets the locking.
      Returns:
      the locking
    • setLocking

      public void setLocking(ShapeLocking locking)
      Sets the locking.
      Parameters:
      locking - the new locking
    • isTextBox

      public boolean isTextBox()
      Checks if is text box.
      Returns:
      true, if is text box
    • setTextBox

      public void setTextBox(boolean isTextBox)
      Sets the text box.
      Parameters:
      isTextBox - the new text box
    • getID

      public String getID()
      Gets the id.
      Returns:
      the id
    • setID

      public void setID(String id)
      Sets the id.
      Parameters:
      id - the new id
    • getName

      public String getName()
      Gets the name.
      Returns:
      the name
    • setName

      public void setName(String name)
      Sets the name.
      Parameters:
      name - the new name
    • getDescription

      public String getDescription()
      Gets the description.
      Returns:
      the description
    • setDescription

      public void setDescription(String description)
      Sets the description.
      Parameters:
      description - the new description
    • isHidden

      public boolean isHidden()
      Checks if is hidden.
      Returns:
      true, if is hidden
    • setHidden

      public void setHidden(boolean description)
      Sets the hidden.
      Parameters:
      description - the new hidden