Documentation of 'org.apache.poi.xslf.usermodel.XSLFShadow' Java class
XSLFShadow
org.apache.poi.xslf.usermodel

Class XSLFShadow



  • public class XSLFShadow
    extends XSLFSimpleShape
    Represents a shadow of a shape. For now supports only outer shadows.
    • Method Detail

      • fill

        public void fill(java.awt.Graphics2D graphics,
                         java.awt.Shape outline)
      • draw

        public void draw(java.awt.Graphics2D graphics,
                         java.awt.Shape outline)
      • getAnchor

        public java.awt.geom.Rectangle2D getAnchor()
        Overrides:
        getAnchor in class XSLFSimpleShape
        Returns:
        the position of this shape within the drawing canvas. The coordinates are expressed in points
      • setAnchor

        public void setAnchor(java.awt.geom.Rectangle2D anchor)
        Overrides:
        setAnchor in class XSLFSimpleShape
        Parameters:
        anchor - the position of this shape within the drawing canvas. The coordinates are expressed in points
      • getDistance

        public double getDistance()
        Returns:
        the offset of this shadow in points
      • getAngle

        public double getAngle()
        Returns:
        the direction to offset the shadow in angles
      • getBlur

        public double getBlur()
        Returns:
        the blur radius of the shadow TODO: figure out how to make sense of this property when rendering shadows
      • getFillColor

        public java.awt.Color getFillColor()
        Overrides:
        getFillColor in class XSLFSimpleShape
        Returns:
        the color of this shadow. Depending whether the parent shape is filled or stroked, this color is used to fill or stroke this shadow

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.