org.apache.poi.xslf.usermodel
Class XSLFGraphicFrame

java.lang.Object
  extended by org.apache.poi.xslf.usermodel.XSLFShape
      extended by org.apache.poi.xslf.usermodel.XSLFGraphicFrame
All Implemented Interfaces:
Shape<XSLFShape,XSLFTextParagraph>
Direct Known Subclasses:
XSLFTable

@Beta
@DrawNotImplemented
public class XSLFGraphicFrame
extends XSLFShape


Method Summary
 java.awt.Rectangle getAnchor()
           
 boolean getFlipHorizontal()
          Whether the shape is horizontally flipped
 boolean getFlipVertical()
           
 double getRotation()
          Rotation angle in degrees
 ShapeType getShapeType()
           
 void setAnchor(java.awt.Rectangle anchor)
           
 void setFlipHorizontal(boolean flip)
           
 void setFlipVertical(boolean flip)
           
 void setRotation(double theta)
          Rotate this shape.
 
Methods inherited from class org.apache.poi.xslf.usermodel.XSLFShape
fetchShapeProperty, getBgPr, getBgRef, getCNvPr, getCTPlaceholder, getFillPaint, getGrpSpPr, getPaint, getParent, getShapeId, getShapeName, getSheet, getSpPr, getSpStyle, getXmlObject, selectPaint, selectPaint, selectPaint, selectPaint, selectPaint, selectProperty, setParent, setPlaceholder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getShapeType

public ShapeType getShapeType()

getAnchor

public java.awt.Rectangle getAnchor()

setAnchor

public void setAnchor(java.awt.Rectangle anchor)

setRotation

public void setRotation(double theta)
Rotate this shape.

Positive angles are clockwise (i.e., towards the positive y axis); negative angles are counter-clockwise (i.e., towards the negative y axis).

Parameters:
theta - the rotation angle in degrees.

getRotation

public double getRotation()
Rotation angle in degrees

Positive angles are clockwise (i.e., towards the positive y axis); negative angles are counter-clockwise (i.e., towards the negative y axis).

Returns:
rotation angle in degrees

setFlipHorizontal

public void setFlipHorizontal(boolean flip)

setFlipVertical

public void setFlipVertical(boolean flip)

getFlipHorizontal

public boolean getFlipHorizontal()
Whether the shape is horizontally flipped

Returns:
whether the shape is horizontally flipped

getFlipVertical

public boolean getFlipVertical()