Class XSSFShape

    • Constructor Summary

      Constructors 
      Constructor Description
      XSSFShape()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      XSSFAnchor getAnchor()  
      XSSFDrawing getDrawing()
      Return the drawing that owns this shape
      XSSFShapeGroup getParent()  
      boolean isNoFill()
      Whether this shape is not filled with a color
      void setFillColor​(int red, int green, int blue)
      Sets the color used to fill this shape using the solid fill pattern.
      void setLineStyle​(int lineStyle)
      Sets the line style.
      void setLineStyleColor​(int red, int green, int blue)
      The color applied to the lines of this shape.
      void setLineWidth​(double lineWidth)
      Specifies the width to be used for the underline stroke.
      void setNoFill​(boolean noFill)
      Sets whether this shape is filled or transparent.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • XSSFShape

        public XSSFShape()
    • Method Detail

      • getDrawing

        public XSSFDrawing getDrawing()
        Return the drawing that owns this shape
        Returns:
        the parent drawing that owns this shape
      • getAnchor

        public XSSFAnchor getAnchor()
        Specified by:
        getAnchor in interface Shape
        Returns:
        the anchor that is used by this shape.
      • isNoFill

        public boolean isNoFill()
        Description copied from interface: Shape
        Whether this shape is not filled with a color
        Specified by:
        isNoFill in interface Shape
        Returns:
        true if this shape is not filled with a color.
      • setNoFill

        public void setNoFill​(boolean noFill)
        Description copied from interface: Shape
        Sets whether this shape is filled or transparent.
        Specified by:
        setNoFill in interface Shape
        Parameters:
        noFill - if true then no fill will be applied to the shape element.
      • setFillColor

        public void setFillColor​(int red,
                                 int green,
                                 int blue)
        Description copied from interface: Shape
        Sets the color used to fill this shape using the solid fill pattern.
        Specified by:
        setFillColor in interface Shape
      • setLineStyleColor

        public void setLineStyleColor​(int red,
                                      int green,
                                      int blue)
        Description copied from interface: Shape
        The color applied to the lines of this shape.
        Specified by:
        setLineStyleColor in interface Shape
      • setLineWidth

        public void setLineWidth​(double lineWidth)
        Specifies the width to be used for the underline stroke.
        Parameters:
        lineWidth - width in points
      • setLineStyle

        public void setLineStyle​(int lineStyle)
        Sets the line style.
        Parameters:
        lineStyle -