com.aspose.slides
Class Background

java.lang.Object
  extended by com.aspose.slides.Shape
      extended by com.aspose.slides.Rectangle
          extended by com.aspose.slides.Background
All Implemented Interfaces:
IShape, IShapeFormat

public final class Background
extends Rectangle

Represents the background of a slide.


Field Summary
 
Fields inherited from class com.aspose.slides.Shape
defaultConnectionPoints, emptyConnectionPoints, emptyShape, m_anchor, m_animationSettings, m_fillFormat, m_frame, m_lineFormat, m_link, m_nFSTVersion, m_options, m_parent, m_shadowFormat, m_shapesParent, m_tags, m_TextFrame, m_version
 
Constructor Summary
protected Background(Slide parent)
           
protected Background(Slide parent, EsSpContainer frame)
           
 
Method Summary
 TextFrame addTextFrame(java.lang.String text)
          Adds a new TextFrame to a shape.
 int getRotation()
          Returns the number of degrees the specified shape is rotated around the z-axis.
 void setRotation(int value)
          Do nothing.
 void zOrder(int cmd)
          Do nothing.
 
Methods inherited from class com.aspose.slides.Rectangle
serialize
 
Methods inherited from class com.aspose.slides.Shape
addLink, clearLink, createShapeElements, createShapeElements, getAlternativeText, getAnchor, getAnimationSettings, getConnectionSites, getConnectionSitesRaw, getFillFormat, getFrame, getgeoBottom, getgeoRight, getHeight, getLineFormat, getLink, getMasterShapeId, getName, getOptions, getParent, getPlaceholder, getRotation0_360, getShadowFormat, getShapeId, getShapeRectangle, getTags, getTextFrame, getThreeDFormat, getWidth, getX, getY, getZOrderPosition, hasExternalData, isFlipH, isFlipV, isHidden, isMasterTextHolder, isTextHolder, setAlternativeText, setFlipH, setFlipV, setHeight, setHidden, setName, setWidth, setX, setY, shouldDraw
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Background

protected Background(Slide parent)

Background

protected Background(Slide parent,
                     EsSpContainer frame)
Method Detail

zOrder

public void zOrder(int cmd)
Do nothing.

Overrides:
zOrder in class Shape
Parameters:
cmd - specifies where to move the specified shape relative to the other shapes. See ZOrderCmd.

getRotation

public int getRotation()
Returns the number of degrees the specified shape is rotated around the z-axis. A positive value indicates clockwise rotation; a negative value indicates counterclockwise rotation.

Overrides:
getRotation in class Shape
Returns:
Always returns 0 for background.

setRotation

public void setRotation(int value)
Do nothing.

Overrides:
setRotation in class Shape
Parameters:
value - rotation angle.

addTextFrame

public TextFrame addTextFrame(java.lang.String text)
                       throws PptEditException
Adds a new TextFrame to a shape. If shape already has TextFrame then do nothing.

Overrides:
addTextFrame in class Shape
Parameters:
text - Default text for a new TextFrame.
Throws:
PptEditException