Interface ChildAnchor

All Known Implementing Classes:
HSSFAnchor, HSSFChildAnchor, HSSFClientAnchor, XSSFAnchor, XSSFChildAnchor, XSSFClientAnchor

public interface ChildAnchor
Common interface for anchors.

An anchor is what specifics the position of a shape within a client object or within another containing shape.

Since:
POI 3.16-beta2
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    int
     
    int
     
    int
     
    void
    setDx1(int dx1)
     
    void
    setDx2(int dx2)
     
    void
    setDy1(int dy1)
     
    void
    setDy2(int dy2)
     
  • Method Details

    • getDx1

      int getDx1()
      Returns:
      x coordinate of the left up corner
    • setDx1

      void setDx1(int dx1)
      Parameters:
      dx1 - x coordinate of the left up corner
    • getDy1

      int getDy1()
      Returns:
      y coordinate of the left up corner
    • setDy1

      void setDy1(int dy1)
      Parameters:
      dy1 - y coordinate of the left up corner
    • getDy2

      int getDy2()
      Returns:
      y coordinate of the right down corner
    • setDy2

      void setDy2(int dy2)
      Parameters:
      dy2 - y coordinate of the right down corner
    • getDx2

      int getDx2()
      Returns:
      x coordinate of the right down corner
    • setDx2

      void setDx2(int dx2)
      Parameters:
      dx2 - x coordinate of the right down corner