org.apache.poi.hssf.usermodel
Class HSSFAnchor
- java.lang.Object
-
- org.apache.poi.hssf.usermodel.HSSFAnchor
-
- Direct Known Subclasses:
- HSSFChildAnchor, HSSFClientAnchor
public abstract class HSSFAnchor extends java.lang.ObjectAn anchor is what specifics the position of a shape within a client object or within another containing shape.
-
-
Constructor Summary
Constructors Constructor and Description HSSFAnchor()HSSFAnchor(int dx1, int dy1, int dx2, int dy2)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method and Description static HSSFAnchorcreateAnchorFromEscher(EscherContainerRecord container)abstract intgetDx1()abstract intgetDx2()abstract intgetDy1()abstract intgetDy2()abstract booleanisHorizontallyFlipped()abstract booleanisVerticallyFlipped()abstract voidsetDx1(int dx1)abstract voidsetDx2(int dx2)abstract voidsetDy1(int dy1)abstract voidsetDy2(int dy2)
-
-
-
Constructor Detail
-
HSSFAnchor
public HSSFAnchor()
-
HSSFAnchor
public HSSFAnchor(int dx1, int dy1, int dx2, int dy2)
-
-
Method Detail
-
createAnchorFromEscher
public static HSSFAnchor createAnchorFromEscher(EscherContainerRecord container)
-
getDx1
public abstract int getDx1()
- Returns:
- x coordinate of the left up corner
-
setDx1
public abstract void setDx1(int dx1)
- Parameters:
dx1- x coordinate of the left up corner
-
getDy1
public abstract int getDy1()
- Returns:
- y coordinate of the left up corner
-
setDy1
public abstract void setDy1(int dy1)
- Parameters:
dy1- y coordinate of the left up corner
-
getDy2
public abstract int getDy2()
- Returns:
- y coordinate of the right down corner
-
setDy2
public abstract void setDy2(int dy2)
- Parameters:
dy2- y coordinate of the right down corner
-
getDx2
public abstract int getDx2()
- Returns:
- x coordinate of the right down corner
-
setDx2
public abstract void setDx2(int dx2)
- Parameters:
dx2- x coordinate of the right down corner
-
isHorizontallyFlipped
public abstract boolean isHorizontallyFlipped()
- Returns:
- whether this shape is horizontally flipped
-
isVerticallyFlipped
public abstract boolean isVerticallyFlipped()
- Returns:
- whether this shape is vertically flipped
-
-
DataMelt 3.0 © DataMelt by jWork.ORG