com.aspose.slides
Class Rectangle

java.lang.Object
  extended by com.aspose.slides.Shape
      extended by com.aspose.slides.Rectangle
Direct Known Subclasses:
Background

public class Rectangle
extends Shape

Represents a Rectangle shape.


Method Summary
 boolean getFlipHorizontal()
           <b>True</b> if a shape was flipped horizontally.
 boolean getFlipVertical()
           <b>True</b> if a shape was flipped vertically.
 int getRotation()
           Returns or sets the number of degrees the specified shape is rotated around the z-axis.
 void serialize(java.io.OutputStream stream)
           
 void setFlipHorizontal(boolean value)
           
 void setFlipVertical(boolean value)
           
 void setRotation(int value)
           
 
Methods inherited from class com.aspose.slides.Shape
addLink, addTextFrame, clearLink, createShapeElements, createShapeElements, getAlternativeText, getAnimationSettings, getConnectionSites, getConnectionSitesRaw, getFillFormat, getFlipH, getFlipV, getHeight, getHidden, getLineFormat, getLink, getMasterShapeId, getName, getParent, getParentSlide, getPlaceholder, getProtection, getShadowFormat, getShapeId, getShapeRectangle, getTags, getTextFrame, getThreeDFormat, getWidth, getX, getY, getZOrderPosition, hasExternalData, isMasterTextHolder, isTextHolder, setAlternativeText, setFlipH, setFlipV, setHeight, setHidden, setName, setProtection, setWidth, setX, setY, zOrder
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

serialize

public void serialize(java.io.OutputStream stream)
Overrides:
serialize in class Shape

getFlipHorizontal

public boolean getFlipHorizontal()

<b>True</b> if a shape was flipped horizontally. Read/write bool.

Overrides:
getFlipHorizontal in class Shape

setFlipHorizontal

public void setFlipHorizontal(boolean value)
Overrides:
setFlipHorizontal in class Shape

getFlipVertical

public boolean getFlipVertical()

<b>True</b> if a shape was flipped vertically. Read/write bool.

Overrides:
getFlipVertical in class Shape

setFlipVertical

public void setFlipVertical(boolean value)
Overrides:
setFlipVertical in class Shape

getRotation

public int getRotation()

Returns or sets 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. Read/write int.

Overrides:
getRotation in class Shape

setRotation

public void setRotation(int value)
Overrides:
setRotation in class Shape