Documentation of 'org.apache.poi.hssf.usermodel.HSSFChildAnchor' Java class
HSSFChildAnchor
org.apache.poi.hssf.usermodel

Class HSSFChildAnchor



  • public final class HSSFChildAnchor
    extends HSSFAnchor
    • Constructor Detail

      • HSSFChildAnchor

        public HSSFChildAnchor(EscherChildAnchorRecord escherChildAnchorRecord)
        create anchor from existing file
        Parameters:
        escherChildAnchorRecord -
      • HSSFChildAnchor

        public HSSFChildAnchor()
      • HSSFChildAnchor

        public HSSFChildAnchor(int dx1,
                               int dy1,
                               int dx2,
                               int dy2)
        create anchor from scratch
        Parameters:
        dx1 - x coordinate of the left up corner
        dy1 - y coordinate of the left up corner
        dx2 - x coordinate of the right down corner
        dy2 - y coordinate of the right down corner
    • Method Detail

      • getDx1

        public int getDx1()
        Specified by:
        getDx1 in class HSSFAnchor
        Returns:
        x coordinate of the left up corner
      • setDx1

        public void setDx1(int dx1)
        Specified by:
        setDx1 in class HSSFAnchor
        Parameters:
        dx1 - x coordinate of the left up corner
      • getDy1

        public int getDy1()
        Specified by:
        getDy1 in class HSSFAnchor
        Returns:
        y coordinate of the left up corner
      • setDy1

        public void setDy1(int dy1)
        Specified by:
        setDy1 in class HSSFAnchor
        Parameters:
        dy1 - y coordinate of the left up corner
      • getDy2

        public int getDy2()
        Specified by:
        getDy2 in class HSSFAnchor
        Returns:
        y coordinate of the right down corner
      • setDy2

        public void setDy2(int dy2)
        Specified by:
        setDy2 in class HSSFAnchor
        Parameters:
        dy2 - y coordinate of the right down corner
      • getDx2

        public int getDx2()
        Specified by:
        getDx2 in class HSSFAnchor
        Returns:
        x coordinate of the right down corner
      • setDx2

        public void setDx2(int dx2)
        Specified by:
        setDx2 in class HSSFAnchor
        Parameters:
        dx2 - x coordinate of the right down corner
      • setAnchor

        public void setAnchor(int dx1,
                              int dy1,
                              int dx2,
                              int dy2)
        Parameters:
        dx1 - x coordinate of the left up corner
        dy1 - y coordinate of the left up corner
        dx2 - x coordinate of the right down corner
        dy2 - y coordinate of the right down corner
      • isHorizontallyFlipped

        public boolean isHorizontallyFlipped()
        Specified by:
        isHorizontallyFlipped in class HSSFAnchor
        Returns:
        whether this shape is horizontally flipped
      • isVerticallyFlipped

        public boolean isVerticallyFlipped()
        Specified by:
        isVerticallyFlipped in class HSSFAnchor
        Returns:
        whether this shape is vertically flipped
      • equals

        public boolean equals(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.