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

Represents standard shape's properties.


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.
 Slide 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

Slide getParent()
Returns the parent slide.

Returns:
The parent slide.

getAlternativeText

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

Returns:
The alternative text.

setAlternativeText

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

Parameters:
value - the alternative text.

getX

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

Returns:
The x coordinate of the upper-left corner.

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.

Returns:
The y coordinate of the upper-left corner.

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.

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.

Returns:
The height of a shape.

setHeight

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

Parameters:
value - new height of a shape.