Class XSSFShape

    • Field Detail

      • drawing

        protected XSSFDrawing drawing
        Parent drawing
      • parent

        protected XSSFShapeGroup parent
        The parent shape, always not-null for shapes in groups
      • anchor

        protected XSSFAnchor anchor
        anchor that is used by this shape
    • 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.
      • getShapeProperties

        protected abstract org.openxmlformats.schemas.drawingml.x2006.main.CTShapeProperties getShapeProperties()
        Returns xml bean with shape properties.
        Returns:
        xml bean with shape properties.
      • isNoFill

        public boolean isNoFill()
        Specified by:
        isNoFill in interface Shape
      • setNoFill

        public void setNoFill​(boolean noFill)
        Specified by:
        setNoFill in interface Shape
      • setFillColor

        public void setFillColor​(int red,
                                 int green,
                                 int blue)
        Specified by:
        setFillColor in interface Shape
      • setLineStyleColor

        public void setLineStyleColor​(int red,
                                      int green,
                                      int blue)
        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.