com.aspose.slides
Interface IShape

All Known Implementing Classes:
AudioFrame, AutoShape, Background, Connector, Ellipse, GroupShape, Line, OleObjectFrame, PictureFrame, Placeholder, Polyline, Rectangle, Shape, Table, TextFrame, TextHolder, VideoFrame

public interface IShape

The interface which defines properties of a shape.


Method Summary
 java.lang.String getAlternativeText()
          Returns the alternative text associated with a shape in a Web presentation.
 int getHeight()
          Returns the height of a shape.
 BaseSlide getParent()
          Returns the parent slide.
 int getWidth()
          Returns the width of a shape.
 int getX()
          Returns the x-coordinate of the upper-left corner of a shape.
 int getY()
          Returns the y-coordinate of the upper-left corner of a shape.
 void setAlternativeText(java.lang.String value)
          Sets the alternative text associated with a shape in a Web presentation.
 void setHeight(int value)
          Sets the height of a shape.
 void setWidth(int value)
          Sets the width of a shape.
 void setX(int value)
          Sets the x-coordinate of the upper-left corner of a shape.
 void setY(int value)
          Sets the y-coordinate of the upper-left corner of a shape.
 

Method Detail

getParent

BaseSlide getParent()
Returns the parent slide.


getAlternativeText

java.lang.String getAlternativeText()
Returns the alternative text associated with a shape in a Web presentation.


setAlternativeText

void setAlternativeText(java.lang.String value)
Sets the alternative text associated with a shape in a Web presentation.

Parameters:
value - new alternative text.

getX

int getX()
Returns the x-coordinate of the upper-left corner of a shape.


setX

void setX(int value)
Sets the x-coordinate of the upper-left corner of a shape.

Parameters:
value - new x coordinate of the upper-left corner.

getY

int getY()
Returns the y-coordinate of the upper-left corner of a shape.


setY

void setY(int value)
Sets the y-coordinate of the upper-left corner of a shape.

Parameters:
value - new y coordinate of the upper-left corner.

getWidth

int getWidth()
Returns the width of a shape.


setWidth

void setWidth(int value)
Sets the width of a shape.

Parameters:
value - new width of a shape.

getHeight

int getHeight()
Returns the height of a shape.


setHeight

void setHeight(int value)
Sets the height of a shape.

Parameters:
value - new height of a shape.